mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +00:00
Temporarily disable the timeout and socket tests.
They still run as standalone scripts, but when used as part of the regression test suite, they are effectively no-ops. (This is done by renaming test_main to main.)
This commit is contained in:
parent
09638c16d8
commit
654c11ee3a
2 changed files with 14 additions and 14 deletions
|
@ -175,11 +175,11 @@ class TimeoutTestCase(unittest.TestCase):
|
|||
pass
|
||||
|
||||
|
||||
def test_main():
|
||||
def main():
|
||||
suite = unittest.TestSuite()
|
||||
suite.addTest(unittest.makeSuite(CreationTestCase))
|
||||
suite.addTest(unittest.makeSuite(TimeoutTestCase))
|
||||
test_support.run_suite(suite)
|
||||
|
||||
if __name__ == "__main__":
|
||||
test_main()
|
||||
main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue