mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Move test_pep352 over to unittest.main()
This commit is contained in:
parent
0a140668fa
commit
58f2efb968
1 changed files with 1 additions and 3 deletions
|
@ -180,8 +180,6 @@ class UsageTests(unittest.TestCase):
|
|||
# Catching a string is bad.
|
||||
self.catch_fails("spam")
|
||||
|
||||
def test_main():
|
||||
run_unittest(ExceptionClassTests, UsageTests)
|
||||
|
||||
if __name__ == '__main__':
|
||||
test_main()
|
||||
unittest.main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue