diff options
author | R David Murray <rdmurray@bitdance.com> | 2015-12-05 04:04:37 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2015-12-05 04:04:37 (GMT) |
commit | 939614c48c3b0b5adeb408294a032118411ab987 (patch) | |
tree | aa7d23dfa311445c3d88fec4b6dda1482f1f1693 /Lib/test/test_compileall.py | |
parent | 6a77c2d978277fc9597baaa6ff612666332bfdca (diff) | |
parent | ced699b4c7e79e0a53e3ca7f2d789b761d4a9e76 (diff) | |
download | cpython-939614c48c3b0b5adeb408294a032118411ab987.zip cpython-939614c48c3b0b5adeb408294a032118411ab987.tar.gz cpython-939614c48c3b0b5adeb408294a032118411ab987.tar.bz2 |
Merge: #24903: Remove misleading error message to fix regression.
Diffstat (limited to 'Lib/test/test_compileall.py')
-rw-r--r-- | Lib/test/test_compileall.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/test/test_compileall.py b/Lib/test/test_compileall.py index ef2b669..2ce8a61 100644 --- a/Lib/test/test_compileall.py +++ b/Lib/test/test_compileall.py @@ -398,14 +398,6 @@ class CommandLineTests(unittest.TestCase): self.assertCompiled(init2fn) self.assertCompiled(bar2fn) - def test_d_takes_exactly_one_dir(self): - rc, out, err = self.assertRunNotOK('-d', 'foo') - self.assertEqual(out, b'') - self.assertRegex(err, b'-d') - rc, out, err = self.assertRunNotOK('-d', 'foo', 'bar') - self.assertEqual(out, b'') - self.assertRegex(err, b'-d') - def test_d_compile_error(self): script_helper.make_script(self.pkgdir, 'crunchyfrog', 'bad(syntax') rc, out, err = self.assertRunNotOK('-q', '-d', 'dinsdale', self.pkgdir) |