Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
ef048517755db1f0d211fb6dfc655a8b412cc96f
/
Lib
/
unittest
ef04851
bpo-38136: Updates await_count and call_count to be different things (GH-16192)
by Lisa Roach
· 5 years ago
8b03f94
bpo-38093: Correctly returns AsyncMock for async subclasses. (GH-15947)
by Lisa Roach
· 5 years ago
5f5f11f
bpo-37828: Fix default mock_name in unittest.mock.assert_called error (GH-16166)
by Abraham Toriz Cruz
· 5 years ago
a9187c3
bpo-38100: Fix spelling error in unittest.mock code (GH-16168)
by marcoramirezmx
· 5 years ago
14fd925
bpo-38122: minor fixes to AsyncMock spec handling (GH-16099)
by Michael Foord
· 5 years ago
d6a9d17
bpo-37555: Update _CallList.__contains__ to respect ANY (#14700)
by Elizabeth Uselton
· 5 years ago
72c3599
bpo-37972: unittest.mock._Call now passes on __getitem__ to the __getattr__ chaining so that call() can be subscriptable (GH-15565)
by blhsing
· 5 years ago
7264e92
bpo-36373: Fix deprecation warnings (GH-15889)
by Andrew Svetlov
· 5 years ago
f1a297a
bpo-37251: Removes __code__ check from _is_async_obj. (GH-15830)
by Lisa Roach
· 5 years ago
f5e7f39
docs: Add references to AsyncMock in unittest.mock.patch (#13681)
by Mario Corchero
· 5 years ago
d5fd75c
bpo-34596: Fallback to a default reason when @unittest.skip is uncalled (#9082)
by Naitree Zhu
· 5 years ago
9d60706
bpo-37212: Preserve keyword argument order in unittest.mock.call and error messages (GH-14310)
by Xtreak
· 5 years ago
aa51508
Fix assertions regarding magic methods function body that was not executed (GH-14154)
by Xtreak
· 5 years ago
39d87b5
Fix typos mostly in comments, docs and test names (GH-15209)
by Min ho Kim
· 5 years ago
0dac68f
bpo-36743: __get__ is sometimes called without the owner argument (#12992)
by Raymond Hettinger
· 5 years ago
f5896a0
bpo-35946: Improve assert_called_with documentation (GH-11796)
by Rémi Lapeyre
· 5 years ago
c961278
bpo-36871: Ensure method signature is used when asserting mock calls to a method (GH13261)
by Xtreak
· 5 years ago
75e0649
bpo-9949: Enable symlink traversal for ntpath.realpath (GH-15287)
by Steve Dower
· 5 years ago
662db12
bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. (GH-14952)
by Serhiy Storchaka
· 5 years ago
c4cacc8
Fix typos in comments, docs and test names (#15018)
by Min ho Kim
· 5 years ago
7397cda
bpo-21478: Record calls to parent when autospecced objects are used as child with attach_mock (GH 14688)
by Xtreak
· 5 years ago
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
· 6 years ago
11a8832
bpo-31855: unittest.mock.mock_open() results now respects the argument of read([size]) (GH-11521)
by Rémi Lapeyre
· 6 years ago
d53cf99
bpo-36542: Allow to overwrite the signature for Python functions. (GH-12705)
by Serhiy Storchaka
· 6 years ago
adbf178
Mock 100% coverage (GH-13045)
by Chris Withers
· 6 years ago
49e27f0
remove jython support from unittest.mock (GH#13033)
by Chris Withers
· 6 years ago
0df635c
Don't report deleted attributes in __dir__ (GH#10148)
by Mario Corchero
· 6 years ago
d5d2b45
bpo-36751: Deprecate getfullargspec and report positional-only args as regular args (GH-13016)
by Pablo Galindo
· 6 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
· 8 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
Next »