diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-03-18 00:00:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-18 00:00:52 (GMT) |
commit | 0b5f99ad1af0892a2d6043abd8aeb10d685d3844 (patch) | |
tree | 744f62e67d671917cc7b2d3461c8d74fd752c332 /Misc/NEWS.d | |
parent | ba76f901923d80ad9b24bb1636aa751d55e0c768 (diff) | |
download | cpython-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/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-01-18-01-29-38.bpo-46421.9LdmNr.rst | 3 |
1 files changed, 3 insertions, 0 deletions
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. |