[issue5846] Deprecate obsolete functions in unittest
Erlend Egeberg Aasland
report at bugs.python.org
Tue Feb 9 05:45:14 EST 2021
Erlend Egeberg Aasland <erlend.aasland at innova.no> added the comment:
> I'm sure Gerhard wouldn't say no to changing the sqlite3 test prefix to
"test_"...
FYI, the sqlite3 tests have now been cleaned up (GH-20538).
Remaining occurrences in Lib/test:
Lib/test/test_pdb.py: unittest.makeSuite(PdbTestCase),
Lib/test/test_dbm.py: suites = [unittest.makeSuite(c) for c in classes]
Lib/test/test_io.py: suite = unittest.TestSuite([unittest.makeSuite(test) for test in tests])
Lib/test/test_threading_local.py: suite.addTest(unittest.makeSuite(ThreadLocalTest))
Lib/test/test_threading_local.py: suite.addTest(unittest.makeSuite(PyThreadingLocalTest))
Lib/test/test_zipimport.py: # item in a list sorted by name, like unittest.makeSuite() does.)
Lib/test/support/__init__.py: suite.addTest(unittest.findTestCases(sys.modules[cls]))
Lib/test/support/__init__.py: suite.addTest(unittest.makeSuite(cls))
Lib/test/support/testresult.py: suite.addTest(unittest.makeSuite(TestTests))
Lib/test/test_email/torture_test.py: suite.addTest(unittest.makeSuite(testclass))
Lib/test/test_math.py: suite.addTest(unittest.makeSuite(MathTests))
Lib/test/test_math.py: suite.addTest(unittest.makeSuite(IsCloseTests))
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue5846>
_______________________________________
More information about the Python-bugs-list
mailing list