commit | 1d7c8c9a00f57df32b6b5c055b3e5a2d11ed1f05 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Fri Sep 13 23:52:46 2013 +0200 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Fri Sep 13 23:52:46 2013 +0200 |
tree | 0ebe2bdf0770df715078792f5d4b0ff9fb3b956e | |
parent | 87456e53a8f399482c29ef07cbfecaa5a84e2413 [diff] [blame] |
Issue #19013: add unittest.main() epilogs to unittest's own test modules
diff --git a/Lib/unittest/test/test_assertions.py b/Lib/unittest/test/test_assertions.py index 7931cad..af08d5a 100644 --- a/Lib/unittest/test/test_assertions.py +++ b/Lib/unittest/test/test_assertions.py
@@ -361,3 +361,7 @@ ['^"regex" does not match "foo"$', '^oops$', '^"regex" does not match "foo"$', '^"regex" does not match "foo" : oops$']) + + +if __name__ == "__main__": + unittest.main()