summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-03-18 00:00:52 (GMT)
committerGitHub <noreply@github.com>2022-03-18 00:00:52 (GMT)
commit0b5f99ad1af0892a2d6043abd8aeb10d685d3844 (patch)
tree744f62e67d671917cc7b2d3461c8d74fd752c332 /Misc
parentba76f901923d80ad9b24bb1636aa751d55e0c768 (diff)
downloadcpython-0b5f99ad1af0892a2d6043abd8aeb10d685d3844.zip
cpython-0b5f99ad1af0892a2d6043abd8aeb10d685d3844.tar.gz
cpython-0b5f99ad1af0892a2d6043abd8aeb10d685d3844.tar.bz2
bpo-46421: Fix unittest filename evaluation when called as a module (GH-30654)
(cherry picked from commit a0db11b10fca0fee6bb2b8d6277e266bad8c0fdb) Co-authored-by: Bader Zaidan <bader@zaidan.pw>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS.d/next/Library/2022-01-18-01-29-38.bpo-46421.9LdmNr.rst3
2 files changed, 4 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 7668caf..1f1364e 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1983,6 +1983,7 @@ Masazumi Yoshikawa
Arnaud Ysmal
Bernard Yue
Moshe Zadka
+Bader Zaidan
Elias Zamaria
Milan Zamazal
Artur Zaprzala
diff --git a/Misc/NEWS.d/next/Library/2022-01-18-01-29-38.bpo-46421.9LdmNr.rst b/Misc/NEWS.d/next/Library/2022-01-18-01-29-38.bpo-46421.9LdmNr.rst
new file mode 100644
index 0000000..03ff27f
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-01-18-01-29-38.bpo-46421.9LdmNr.rst
@@ -0,0 +1,3 @@
+Fix a unittest issue where if the command was invoked as ``python -m
+unittest`` and the filename(s) began with a dot (.), a ``ValueError`` is
+returned.