Skip to content

Commit 003f341

Browse files
authored
Fix zipfile packaging after GH-98103 (GH-99797)
* Add zipfile and test_zipfile to list of packages. Fixes regression introduced in #98103. * Restore support for py -m test.test_zipfile
1 parent 78365b8 commit 003f341

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

Lib/test/test_zipfile/__main__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import unittest
2+
3+
from . import load_tests # noqa: F401
4+
5+
6+
if __name__ == "__main__":
7+
unittest.main()

Makefile.pre.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1978,6 +1978,7 @@ LIBSUBDIRS= asyncio \
19781978
wsgiref \
19791979
$(XMLLIBSUBDIRS) \
19801980
xmlrpc \
1981+
zipfile \
19811982
zoneinfo \
19821983
__phello__
19831984
TESTSUBDIRS= idlelib/idle_test \
@@ -2051,6 +2052,7 @@ TESTSUBDIRS= idlelib/idle_test \
20512052
test/test_tools \
20522053
test/test_ttk \
20532054
test/test_warnings test/test_warnings/data \
2055+
test/test_zipfile \
20542056
test/test_zoneinfo test/test_zoneinfo/data \
20552057
test/test_unittest test/test_unittest/testmock \
20562058
test/tracedmodules \

0 commit comments

Comments
 (0)