diff options
| author | Antoine Pitrou <solipsis@pitrou.net> | 2013-09-13 21:54:01 (GMT) |
|---|---|---|
| committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-09-13 21:54:01 (GMT) |
| commit | 356bdeb0a173d026beb614050c84c38f73b88db6 (patch) | |
| tree | c531ec1e4a1a3c763f9abf3724ddc107a68d507f /Lib/unittest/test/testmock/testcallable.py | |
| parent | 1d7c8c9a00f57df32b6b5c055b3e5a2d11ed1f05 (diff) | |
| download | cpython-356bdeb0a173d026beb614050c84c38f73b88db6.zip cpython-356bdeb0a173d026beb614050c84c38f73b88db6.tar.gz cpython-356bdeb0a173d026beb614050c84c38f73b88db6.tar.bz2 | |
Issue #19013: add unittest.main() epilogs to unittest.mock's own test modules
Diffstat (limited to 'Lib/unittest/test/testmock/testcallable.py')
| -rw-r--r-- | Lib/unittest/test/testmock/testcallable.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/unittest/test/testmock/testcallable.py b/Lib/unittest/test/testmock/testcallable.py index 7b2dd00..5390a4e 100644 --- a/Lib/unittest/test/testmock/testcallable.py +++ b/Lib/unittest/test/testmock/testcallable.py @@ -145,3 +145,7 @@ class TestCallable(unittest.TestCase): mock.wibble.assert_called_once_with() self.assertRaises(TypeError, mock.wibble, 'some', 'args') + + +if __name__ == "__main__": + unittest.main() |
