summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_cmd_line_script.py
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-12-11 03:35:31 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2015-12-11 03:35:31 (GMT)
commit8c0b5b998ae3319294a366cfb0bdad9fc88ff1fc (patch)
tree0c69571deae55a9d57e52b75c968ff0f36dde87a /Lib/test/test_cmd_line_script.py
parent36ff997988bdf2a72f362e60b7b03f439506411c (diff)
parent7dda421bfff887da9a84e99c37ef1b0ef9f3cde9 (diff)
downloadcpython-8c0b5b998ae3319294a366cfb0bdad9fc88ff1fc.zip
cpython-8c0b5b998ae3319294a366cfb0bdad9fc88ff1fc.tar.gz
cpython-8c0b5b998ae3319294a366cfb0bdad9fc88ff1fc.tar.bz2
Issue #14285: Merge runpy fix from 3.5
Diffstat (limited to 'Lib/test/test_cmd_line_script.py')
-rw-r--r--Lib/test/test_cmd_line_script.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_cmd_line_script.py b/Lib/test/test_cmd_line_script.py
index 77cb95c..96711d6 100644
--- a/Lib/test/test_cmd_line_script.py
+++ b/Lib/test/test_cmd_line_script.py
@@ -433,6 +433,7 @@ class CmdLineTest(unittest.TestCase):
('importlib', br'No module named.*'
br'is a package and cannot be directly executed'),
('importlib.nonexistant', br'No module named'),
+ ('.unittest', br'Relative module names not supported'),
)
for name, regex in tests:
with self.subTest(name):