Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
830b43d03cc47a27a22a50d777f23c8e60820867
/
Lib
/
unittest
/
test
830b43d
bpo-36593: Fix isinstance check for Mock objects with spec executed under tracing (GH-12790)
by Xtreak
· 5 years ago
42a139e
bpo-36492: Deprecate passing some arguments as keyword arguments. (GH-12637)
by Serhiy Storchaka
· 5 years ago
02b84cb
bpo-36366: Return None on stopping unstarted patch object (GH-12472)
by Xtreak
· 5 years ago
b0df45e
bpo-21269: Provide args and kwargs attributes on mock call objects GH11807
by Kumar Akshay
· 5 years ago
9c3f284
Autospec functions should propagate mock calls to parent GH-11273
by Xtreak
· 6 years ago
a875ea5
bpo-35512: Resolve string target to patch.dict decorator during function call GH#12000
by Xtreak
· 6 years ago
2bdd585
bpo-35500: align expected and actual calls on mock.assert_called_with error message. (GH-11804)
by Susan Su
· 6 years ago
fd628cf
bpo-35767: Fix unittest.loader to allow partials as test_functions (#11600)
by Jason Fried
· 6 years ago
222d303
bpo-20239: Allow repeated deletion of unittest.mock.Mock attributes (#11057)
by Pablo Galindo
· 6 years ago
5a718e9
Add test for double patching instance methods (#11085)
by Anthony Sottile
· 6 years ago
f7fa62e
bpo-17185: Add __signature__ to mock that can be used by inspect for signature (GH11048)
by Xtreak
· 6 years ago
f05df0a
bpo-35330: Don't call the wrapped object if `side_effect` is set (GH10973)
by Mario Corchero
· 6 years ago
3cf7438
bpo-33747: Avoid mutating the global sys.modules dict in unittest.mock tests (GH-8520)
by Anirudha Bose
· 6 years ago
2042852
Remove unused function in `testmock/support.py` (GH-10975)
by Mario Corchero
· 6 years ago
e63e617
bpo-35357: Add _mock_ prefix to name/parent/from_kall attributes of _Call/_MagicProxy. (#10873)
by Andrew Dunai
· 6 years ago
8ca0fa9
bpo-35226: Fix equality for nested unittest.mock.call objects. (#10555)
by Chris Withers
· 6 years ago
c667b09
bpo-32153: Add unit test for create_autospec with partial function returned in getattr (#10398)
by Xtreak
· 6 years ago
edeca92
bpo-31177: Skip deleted attributes while calling reset_mock (GH-9302)
by Xtreak
· 6 years ago
b2774c8
Use assertEqual to fix DeprecationWarning. (GH-10794)
by Xtreak
· 6 years ago
0f221d0
bpo-24412: Adds cleanUps for setUpClass and setUpModule. (GH-9190)
by Lisa Roach
· 6 years ago
47d9424
bpo-35047, unittest.mock: Better error messages on assert_called_xxx failures (GH-10090)
by Petter Strandmark
· 6 years ago
6c83d9f
bpo-35022: unittest.mock.MagicMock now also supports __fspath__ (GH-9960)
by Max Bélanger
· 6 years ago
da2bf9f
bpo-34900: Make TestCase.debug() work with subtests (GH-9707)
by Bruno Oliveira
· 6 years ago
2087023
bpo-32933: Implement __iter__ method on mock_open() (GH-5974)
by Tony Flury
· 6 years ago
77d5781
bpo-34318: Convert deprecation warnings to errors in assertRaises() etc. (GH-8623)
by Serhiy Storchaka
· 6 years ago
fd8fbce
bpo-33746: Fix test_unittest.testRegisterResult() in verbose mode (GH-7799)
by Victor Stinner
· 6 years ago
4ab4695
bpo-33748: fix tests altering sys.path and sys.modules (GH-7433)
by Tal Einat
· 6 years ago
6c4fab0
bpo-33516: Add support for __round__ in MagicMock (GH-6880)
by John Reese
· 6 years ago
c3d9508
bpo-32746: Fix multiple typos (GH-5144)
by Leo Arias
· 7 years ago
13ff245
bpo-32593: Drop FreeBSD 9 and older support (#5232)
by Victor Stinner
· 7 years ago
53f7a7c
bpo-32297: Few misspellings found in Python source code comments. (#4803)
by Mike
· 7 years ago
747f48e
bpo-32230: Set sys.warnoptions with -X dev (#4820)
by Victor Stinner
· 7 years ago
4d193bc
bpo-32071: Fix regression and add What's New entry (#4589)
by Jonas Haag
· 7 years ago
5b48dc6
bpo-32071: Add unittest -k option (#4496)
by Jonas Haag
· 7 years ago
a5293b4
Fix miscellaneous typos (#4275)
by luzpaz
· 7 years ago
552be9d
bpo-30541: Add new method to seal mocks (GH61923)
by Mario Corchero
· 7 years ago
49b2734
Spelling fixes (#2902)
by Ville Skyttä
· 7 years ago
856cbcc
bpo-29403: Fix mock's broken autospec behavior on method-bound builtin functions (GH-3)
by Aaron Gallagher
· 7 years ago
e4f9a2d
bpo-30813: Fix unittest when hunting refleaks (#2502)
by Victor Stinner
· 7 years ago
48fbe52
bpo-30664: The description of a unittest subtest now preserves the (#2265)
by Serhiy Storchaka
· 7 years ago
c475095
#30190: fix invalid escape sequence warnings (#1534)
by Giampaolo Rodola
· 7 years ago
5d7a8d0
bpo-30190: improved error msg for assertAlmostEqual(delta=...) (#1331)
by Giampaolo Rodola
· 7 years ago
55fe1ae
bpo-30022: Get rid of using EnvironmentError and IOError (except test… (#1051)
by Serhiy Storchaka
· 7 years ago
bbd3cf8
Fix ref cycles in TestCase.assertRaises() (#193)
by Victor Stinner
· 7 years ago
5aa3856
bpo-28961: Address my comments from earlier code review (#305)
by Berker Peksag
· 8 years ago
19dea2c
Issue #28735: Fixed the comparison of mock.MagickMock with mock.ANY.
by Serhiy Storchaka
· 8 years ago
a203360
Issue #28735: Fixed the comparison of mock.MagickMock with mock.ANY.
by Serhiy Storchaka
· 8 years ago
362f058
Issue #28735: Fixed the comparison of mock.MagickMock with mock.ANY.
by Serhiy Storchaka
· 8 years ago
9722d7f
Issue 29274: Merge doc fixes from 3.6
by Martin Panter
· 8 years ago
4710935
Issue 29274: Merge doc fixes from 3.5
by Martin Panter
· 8 years ago
37f183d
Issue #29274: tests cases → test cases
by Martin Panter
· 8 years ago
d9c956f
Issue #20804: The unittest.mock.sentinel attributes now preserve their
by Serhiy Storchaka
· 8 years ago
84b6fb0
Fix unittest.mock._Call: don't ignore name
by Victor Stinner
· 8 years ago
ac5084b
Fixes issue28380: unittest.mock Mock autospec functions now properly support
by Gregory P. Smith
· 8 years ago
b3d4e7f
Issue #25651: Merge from 3.5
by Berker Peksag
· 8 years ago
16ea19f
Issue #25651: Allow falsy values to be used for msg parameter of subTest()
by Berker Peksag
· 8 years ago
0be894b
Issue #27895: Spelling fixes (Contributed by Ville Skyttä).
by Martin Panter
· 8 years ago
44b548d
#27364: fix "incorrect" uses of escape character in the stdlib.
by R David Murray
· 8 years ago
15f44ab
Issue #27895: Spelling fixes (Contributed by Ville Skyttä).
by Raymond Hettinger
· 8 years ago
f74c33a
Merge
by Raymond Hettinger
· 8 years ago
7ea386e
Issue 19504: Change "customise" to "customize" American spelling.
by Raymond Hettinger
· 8 years ago
d0d24fd
Issue #26750: unittest.mock.create_autospec() now works properly for
by Gregory P. Smith
· 8 years ago
9854789
Issue #26750: unittest.mock.create_autospec() now works properly
by Gregory P. Smith
· 8 years ago
a9e1ebb
Issue #27430: Merge from 3.5
by Berker Peksag
· 8 years ago
e39682b
Issue #27430: Fix typos, patch by scop.
by Berker Peksag
· 8 years ago
9cd39a1
Issue #21271: Adds new keyword only parameters in reset_mock call
by Kushal Das
· 8 years ago
742206d
Issue #27063: Some unittest loader tests were silently skipped.
by Serhiy Storchaka
· 8 years ago
0dad755
Issue #27063: Some unittest loader tests were silently skipped.
by Serhiy Storchaka
· 8 years ago
c85dd85
Issue #26807: mock_open 'files' no longer error on readline at end of file.
by Robert Collins
· 8 years ago
9549a3e
Issue #26807: mock_open 'files' no longer error on readline at end of file.
by Robert Collins
· 8 years ago
81e7f94
Merge 3.5
by Serhiy Storchaka
· 8 years ago
685fbed
Issue #26837: assertSequenceEqual() now correctly outputs non-stringified
by Serhiy Storchaka
· 8 years ago
e437a10
Issue #23277: Remove unused imports in tests.
by Serhiy Storchaka
· 8 years ago
1e8ee9b
Issue #23277: Remove unused sys and os imports
by Berker Peksag
· 8 years ago
6e722bc
Merge 3.5 (test_unittest)
by Victor Stinner
· 8 years ago
9db2ae7
Fix ResourceWarning in test_unittest when interrupted
by Victor Stinner
· 8 years ago
5a6c018
Issue #25195: Fix a regression in mock.MagicMock
by Berker Peksag
· 8 years ago
ce91387
Issue #25195: Fix a regression in mock.MagicMock
by Berker Peksag
· 8 years ago
bfef0be
#25320: Handle sockets in directories unittest discovery is scanning.
by Robert Collins
· 9 years ago
ecd5383
#25320: Handle sockets in directories unittest discovery is scanning.
by Robert Collins
· 9 years ago
2c2a4e6
Add Mock.assert_called()
by Victor Stinner
· 9 years ago
81bc927
Issue #22138: Fix mock.patch behavior when patching descriptors. Restore
by Senthil Kumaran
· 9 years ago
d2ad571
Issue #25523: Further a-to-an corrections new in 3.5
by Martin Panter
· 9 years ago
29bf4d4
Issue #24857: Comparing call_args to a long sequence now correctly returns a
by Berker Peksag
· 9 years ago
3fc536f
Issue #24857: Comparing call_args to a long sequence now correctly returns a
by Berker Peksag
· 9 years ago
079fc7f
Issue #21112: Fix regression in unittest.expectedFailure on subclasses.
by Robert Collins
· 9 years ago
ed599b7
Issue #21112: Fix regression in unittest.expectedFailure on subclasses.
by Robert Collins
· 9 years ago
be6caca
Issue #20362: Honour TestCase.longMessage correctly in assertRegex.
by Robert Collins
· 9 years ago
86b34da
Issue #23004: mock_open() now reads binary data correctly when the type of read_data is bytes.
by Berker Peksag
· 9 years ago
ca647ef
Issue #21750: Further fixup to be styled like other mock APIs.
by Robert Collins
· 9 years ago
5329aaa
Issue #21750: mock_open.read_data can now be read from each instance, as it
by Robert Collins
· 9 years ago
b37f43f
- Issue #18622: unittest.mock.mock_open().reset_mock would recurse infinitely.
by Robert Collins
· 9 years ago
abfaecd
Issue #23004: mock_open() now reads binary data correctly when the type of read_data is bytes.
by Berker Peksag
· 9 years ago
88ba360
Issue #21750: Further fixup to be styled like other mock APIs.
by Robert Collins
· 9 years ago
4838717
Issue #21750: mock_open.read_data can now be read from each instance, as it
by Robert Collins
· 9 years ago
76d508b
- Issue #18622: unittest.mock.mock_open().reset_mock would recurse infinitely.
by Robert Collins
· 9 years ago
f58f88c
Issue #23661: unittest.mock side_effects can now be exceptions again.
by Robert Collins
· 9 years ago
041dd8e
Issue #15836: assertRaises(), assertRaisesRegex(), assertWarns() and
by Serhiy Storchaka
· 9 years ago
e98209c
Issue #24245: Eliminated senseless expect clauses that have no any effect.
by Serhiy Storchaka
· 9 years ago
df573d6
Issue #24134: assertRaises(), assertRaisesRegex(), assertWarns() and
by Serhiy Storchaka
· 9 years ago
Next »