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
This commit is contained in:
Jason R. Coombs 2022-11-26 13:00:05 -05:00 committed by GitHub
parent 78365b8e28
commit 003f341e99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,7 @@
import unittest
from . import load_tests # noqa: F401
if __name__ == "__main__":
unittest.main()

View file

@ -1978,6 +1978,7 @@ LIBSUBDIRS= asyncio \
wsgiref \
$(XMLLIBSUBDIRS) \
xmlrpc \
zipfile \
zoneinfo \
__phello__
TESTSUBDIRS= idlelib/idle_test \
@ -2051,6 +2052,7 @@ TESTSUBDIRS= idlelib/idle_test \
test/test_tools \
test/test_ttk \
test/test_warnings test/test_warnings/data \
test/test_zipfile \
test/test_zoneinfo test/test_zoneinfo/data \
test/test_unittest test/test_unittest/testmock \
test/tracedmodules \