cpython/Lib/unittest
Xtreak 830b43d03c bpo-36593: Fix isinstance check for Mock objects with spec executed under tracing (GH-12790)
In Python having a trace function in effect while mock is imported causes isinstance to be wrong for MagicMocks. This is due to the usage of super() in some class methods, as this sets the __class__ attribute. To avoid this, as a workaround, alias the usage of super .
2019-04-13 20:12:33 +01:00
..
test bpo-36593: Fix isinstance check for Mock objects with spec executed under tracing (GH-12790) 2019-04-13 20:12:33 +01:00
__init__.py bpo-24412: Adds cleanUps for setUpClass and setUpModule. (GH-9190) 2018-11-08 18:34:33 -08:00
__main__.py
case.py bpo-36492: Deprecate passing some arguments as keyword arguments. (GH-12637) 2019-04-01 09:16:35 +03:00
loader.py bpo-35767: Fix unittest.loader to allow partials as test_functions (#11600) 2019-01-23 21:57:25 +01:00
main.py
mock.py bpo-36593: Fix isinstance check for Mock objects with spec executed under tracing (GH-12790) 2019-04-13 20:12:33 +01:00
result.py
runner.py bpo-35513, unittest: TextTestRunner uses time.perf_counter() (GH-11180) 2018-12-17 11:30:34 +01:00
signals.py
suite.py bpo-24412: Adds cleanUps for setUpClass and setUpModule. (GH-9190) 2018-11-08 18:34:33 -08:00
util.py