mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Issue #19013: add unittest.main() epilogs to unittest's own test modules
This commit is contained in:
parent
87456e53a8
commit
1d7c8c9a00
8 changed files with 29 additions and 0 deletions
|
@ -339,3 +339,7 @@ class Test_TextTestRunner(unittest.TestCase):
|
|||
f = io.StringIO()
|
||||
runner = unittest.TextTestRunner(f)
|
||||
self.assertTrue(runner.stream.stream is f)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue