summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/CODEOWNERS2
-rw-r--r--Lib/test/test_zipfile/_path/__init__.py0
-rw-r--r--Lib/test/test_zipfile/_path/_functools.py (renamed from Lib/test/test_zipfile/_functools.py)0
-rw-r--r--Lib/test/test_zipfile/_path/_itertools.py (renamed from Lib/test/test_zipfile/_itertools.py)0
-rw-r--r--Lib/test/test_zipfile/_path/_support.py (renamed from Lib/test/test_zipfile/_support.py)0
-rw-r--r--Lib/test/test_zipfile/_path/_test_params.py (renamed from Lib/test/test_zipfile/_test_params.py)0
-rw-r--r--Lib/test/test_zipfile/_path/test_complexity.py (renamed from Lib/test/test_zipfile/test_complexity.py)0
-rw-r--r--Lib/test/test_zipfile/_path/test_path.py (renamed from Lib/test/test_zipfile/test_path.py)0
-rw-r--r--Lib/zipfile/_path/__init__.py (renamed from Lib/zipfile/_path.py)0
-rw-r--r--Makefile.pre.in3
-rw-r--r--Misc/NEWS.d/next/Tests/2023-07-14-16-20-06.gh-issue-106752.gd1i6D.rst2
11 files changed, 5 insertions, 2 deletions
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 5b471c7..234a954 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -172,7 +172,7 @@ Doc/c-api/stable.rst @encukou
**/*pathlib* @barneygale
# zipfile.Path
-**/*zipfile/*_path.py @jaraco
+**/*zipfile/_path/* @jaraco
# Argument Clinic
/Tools/clinic/** @erlend-aasland @AlexWaygood
diff --git a/Lib/test/test_zipfile/_path/__init__.py b/Lib/test/test_zipfile/_path/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Lib/test/test_zipfile/_path/__init__.py
diff --git a/Lib/test/test_zipfile/_functools.py b/Lib/test/test_zipfile/_path/_functools.py
index 75f2b20..75f2b20 100644
--- a/Lib/test/test_zipfile/_functools.py
+++ b/Lib/test/test_zipfile/_path/_functools.py
diff --git a/Lib/test/test_zipfile/_itertools.py b/Lib/test/test_zipfile/_path/_itertools.py
index f735dd2..f735dd2 100644
--- a/Lib/test/test_zipfile/_itertools.py
+++ b/Lib/test/test_zipfile/_path/_itertools.py
diff --git a/Lib/test/test_zipfile/_support.py b/Lib/test/test_zipfile/_path/_support.py
index 1afdf3b..1afdf3b 100644
--- a/Lib/test/test_zipfile/_support.py
+++ b/Lib/test/test_zipfile/_path/_support.py
diff --git a/Lib/test/test_zipfile/_test_params.py b/Lib/test/test_zipfile/_path/_test_params.py
index bc95b4e..bc95b4e 100644
--- a/Lib/test/test_zipfile/_test_params.py
+++ b/Lib/test/test_zipfile/_path/_test_params.py
diff --git a/Lib/test/test_zipfile/test_complexity.py b/Lib/test/test_zipfile/_path/test_complexity.py
index 3432dc3..3432dc3 100644
--- a/Lib/test/test_zipfile/test_complexity.py
+++ b/Lib/test/test_zipfile/_path/test_complexity.py
diff --git a/Lib/test/test_zipfile/test_path.py b/Lib/test/test_zipfile/_path/test_path.py
index aff91e5..aff91e5 100644
--- a/Lib/test/test_zipfile/test_path.py
+++ b/Lib/test/test_zipfile/_path/test_path.py
diff --git a/Lib/zipfile/_path.py b/Lib/zipfile/_path/__init__.py
index fd49a3e..fd49a3e 100644
--- a/Lib/zipfile/_path.py
+++ b/Lib/zipfile/_path/__init__.py
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 4b65551..ddf524a 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -2125,7 +2125,7 @@ LIBSUBDIRS= asyncio \
wsgiref \
$(XMLLIBSUBDIRS) \
xmlrpc \
- zipfile \
+ zipfile zipfile/_path \
zoneinfo \
__phello__
TESTSUBDIRS= idlelib/idle_test \
@@ -2229,6 +2229,7 @@ TESTSUBDIRS= idlelib/idle_test \
test/test_warnings \
test/test_warnings/data \
test/test_zipfile \
+ test/test_zipfile/_path \
test/test_zoneinfo \
test/test_zoneinfo/data \
test/tkinterdata \
diff --git a/Misc/NEWS.d/next/Tests/2023-07-14-16-20-06.gh-issue-106752.gd1i6D.rst b/Misc/NEWS.d/next/Tests/2023-07-14-16-20-06.gh-issue-106752.gd1i6D.rst
new file mode 100644
index 0000000..ba7257e
--- /dev/null
+++ b/Misc/NEWS.d/next/Tests/2023-07-14-16-20-06.gh-issue-106752.gd1i6D.rst
@@ -0,0 +1,2 @@
+Moved tests for ``zipfile.Path`` into ``Lib/test/test_zipfile/_path``. Made
+``zipfile._path`` a package.