Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
8bd2872adbbc7ed5dd0a7593193c52431ae34c8d
/
Lib
/
unittest
142566c
[3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620)
by Serhiy Storchaka
· 5 years ago
2085bd0
bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)
by Serhiy Storchaka
· 5 years ago
4dd3e3f
bpo-32972: Async test case (GH-13386)
by Andrew Svetlov
· 5 years ago
0ae022c
bpo-37075: Fix string concatenation in assert_has_awaits error message (GH-13616)
by Xtreak
· 5 years ago
0453081
bpo-32299: Return patched dict when using patch.dict as a context manager (GH-11062)
by Mario Corchero
· 5 years ago
436c2b0
bpo-36996: Handle async functions when mock.patch is used as a decorator (GH-13562)
by Xtreak
· 5 years ago
ff6b2e6
bpo-37047: Refactor AsyncMock setup logic for autospeccing (GH-13574)
by Xtreak
· 5 years ago
394119a
bpo-37008: make mock_open handle able to honor next() (GH-13492)
by Damien Nadé
· 5 years ago
e7cb23b
Fix RuntimeWarning in unittest.mock asyncio example (GH-13449)
by Xtreak
· 5 years ago
77b3b77
bpo-26467: Adds AsyncMock for asyncio Mock library support (GH-9296)
by Lisa Roach
· 5 years ago
f665b96
Fix typo in test comment (GH-11442)
by Ashwin Ramaswami
· 5 years ago
b9b08cd
bpo-24758: Improve the error msg for unittest.mock.Mock()'s unsafe mode (#12991)
by Zackery Spytz
· 5 years ago
11a8832
bpo-31855: unittest.mock.mock_open() results now respects the argument of read([size]) (GH-11521)
by Rémi Lapeyre
· 5 years ago
d53cf99
bpo-36542: Allow to overwrite the signature for Python functions. (GH-12705)
by Serhiy Storchaka
· 5 years ago
adbf178
Mock 100% coverage (GH-13045)
by Chris Withers
· 5 years ago
49e27f0
remove jython support from unittest.mock (GH#13033)
by Chris Withers
· 5 years ago
0df635c
Don't report deleted attributes in __dir__ (GH#10148)
by Mario Corchero
· 5 years ago
d5d2b45
bpo-36751: Deprecate getfullargspec and report positional-only args as regular args (GH-13016)
by Pablo Galindo
· 5 years ago
39baace
Document that TestCase.assertCountEqual() can take iterables (GH-686)
by jkleint
· 6 years ago
9b21856
bpo-23078: Add support for {class,static}method to mock.create_autospec() (GH-11613)
by Xtreak
· 6 years ago
830b43d
bpo-36593: Fix isinstance check for Mock objects with spec executed under tracing (GH-12790)
by Xtreak
· 6 years ago
42a139e
bpo-36492: Deprecate passing some arguments as keyword arguments. (GH-12637)
by Serhiy Storchaka
· 6 years ago
02b84cb
bpo-36366: Return None on stopping unstarted patch object (GH-12472)
by Xtreak
· 6 years ago
b0df45e
bpo-21269: Provide args and kwargs attributes on mock call objects GH11807
by Kumar Akshay
· 6 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
71f82a2
Fix mock_open docstring to use readline (#11176)
by Xtreak
· 6 years ago
8db5b54
bpo-35513, unittest: TextTestRunner uses time.perf_counter() (GH-11180)
by Victor Stinner
· 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
34fd4c2
bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284)
by Serhiy Storchaka
· 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
96200eb
unittest.mock doc: Fix references to recursive seal of Mocks (GH-9028)
by Mario Corchero
· 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
2b32da2
Improve error message when mock.assert_has_calls fails (GH-8205)
by davidair
· 6 years ago
fd8fbce
bpo-33746: Fix test_unittest.testRegisterResult() in verbose mode (GH-7799)
by Victor Stinner
· 6 years ago
9d6d06e
pypi.python.org -> pypi.org (GH-7613)
by Ned Deily
· 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
018e1b7
bpo-32360: unittest.util: Use Counter instead of custom count function (GH-4994)
by Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
· 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
032a648
Update TestCase.assertAlmostEqual and assertNotAlmostEqual docstrings. (GH-3998)
by Ron
· 7 years ago
552be9d
bpo-30541: Add new method to seal mocks (GH61923)
by Mario Corchero
· 7 years ago
0b5e61d
bpo-30397: Add re.Pattern and re.Match. (#1646)
by Serhiy Storchaka
· 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
f7e62cf
bpo-30078: Add an example of passing a path to unittest (#1178)
by Louie Lu
· 8 years ago
55fe1ae
bpo-30022: Get rid of using EnvironmentError and IOError (except test… (#1051)
by Serhiy Storchaka
· 8 years ago
bbd3cf8
Fix ref cycles in TestCase.assertRaises() (#193)
by Victor Stinner
· 8 years ago
d6debb2
bpo-29919: Remove unused imports found by pyflakes (#137)
by Victor Stinner
· 8 years ago
5aa3856
bpo-28961: Address my comments from earlier code review (#305)
by Berker Peksag
· 8 years ago
324c5d8
bpo-28911: Clarify the behaviour of assert_called_once_with. (#251)
by Arne de Laat
· 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
cd992bb
Merge 3.6
by Victor Stinner
· 8 years ago
84b6fb0
Fix unittest.mock._Call: don't ignore name
by Victor Stinner
· 8 years ago
161a4dd
Issue #28919: Simplify _copy_func_details() in unittest.mock
by Berker Peksag
· 8 years ago
ac5084b
Fixes issue28380: unittest.mock Mock autospec functions now properly support
by Gregory P. Smith
· 8 years ago
eadf443
Issue #28303: Merge from 3.5
by Berker Peksag
· 8 years ago
aa5c2fd
Issue #28303: Fix grammar in unittest.__doc__, patch by Shlomi Fish
by Berker Peksag
· 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
c35a32f
Issue #26750: use inspect.isdatadescriptor instead of our own
by Gregory P. Smith
· 8 years ago
d4583d7
Issue #26750: use inspect.isdatadescriptor instead of our own
by Gregory P. Smith
· 8 years ago
d0d24fd
Issue #26750: unittest.mock.create_autospec() now works properly for
by Gregory P. Smith
· 8 years ago
Next »