diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2021-09-13 07:49:53 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-13 07:49:53 (GMT) |
| commit | 851811f5772c43f72f445e2ce1ac3ea9da951ae3 (patch) | |
| tree | 4178e52377f5bfd4f9e94dc5261eb0a6e05ef6cc /Lib/test/test_zipimport.py | |
| parent | c78d5ca3806d02e26f9f3fa92ff567f0805eac4c (diff) | |
| download | cpython-851811f5772c43f72f445e2ce1ac3ea9da951ae3.zip cpython-851811f5772c43f72f445e2ce1ac3ea9da951ae3.tar.gz cpython-851811f5772c43f72f445e2ce1ac3ea9da951ae3.tar.bz2 | |
bpo-5846: Do not use obsolete unittest functions. (GH-28303)
Get rid of use of makeSuite() and findTestCases().
Also make test_math and test_threading_local discoverable.
Diffstat (limited to 'Lib/test/test_zipimport.py')
| -rw-r--r-- | Lib/test/test_zipimport.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_zipimport.py b/Lib/test/test_zipimport.py index c57f861..938674f 100644 --- a/Lib/test/test_zipimport.py +++ b/Lib/test/test_zipimport.py @@ -155,7 +155,8 @@ class UncompressedZipImportTestCase(ImportHooksBaseTestCase): # zlib.decompress function object, after which the problem being # tested here wouldn't be a problem anymore... # (Hence the 'A' in the test method name: to make it the first - # item in a list sorted by name, like unittest.makeSuite() does.) + # item in a list sorted by name, like + # unittest.TestLoader.getTestCaseNames() does.) # # This test fails on platforms on which the zlib module is # statically linked, but the problem it tests for can't |
