summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pydoc.py
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2012-02-03 22:16:11 (GMT)
committerNed Deily <nad@acm.org>2012-02-03 22:16:11 (GMT)
commitf16d6771c7bb9d5c1b8813cd2d4efc3cee0bc646 (patch)
tree27214bb232cdd340887541d6b49a6456bf8a9b01 /Lib/test/test_pydoc.py
parent1d06daa1625af85daa30898ec735553bdf0f82ad (diff)
parent342949195033a078ac341ca219406e30fb9b51ec (diff)
downloadcpython-f16d6771c7bb9d5c1b8813cd2d4efc3cee0bc646.zip
cpython-f16d6771c7bb9d5c1b8813cd2d4efc3cee0bc646.tar.gz
cpython-f16d6771c7bb9d5c1b8813cd2d4efc3cee0bc646.tar.bz2
Issue #13861: merge
Diffstat (limited to 'Lib/test/test_pydoc.py')
-rw-r--r--Lib/test/test_pydoc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_pydoc.py b/Lib/test/test_pydoc.py
index 3e5c450..e805ed8 100644
--- a/Lib/test/test_pydoc.py
+++ b/Lib/test/test_pydoc.py
@@ -405,7 +405,7 @@ class PydocImportTest(unittest.TestCase):
badsyntax = os.path.join(pkgdir, "__init__") + os.extsep + "py"
with open(badsyntax, 'w') as f:
f.write("invalid python syntax = $1\n")
- result = run_pydoc('nothing', '-k', PYTHONPATH=TESTFN)
+ result = run_pydoc('zqwykjv', '-k', PYTHONPATH=TESTFN)
self.assertEqual(b'', result)
def test_apropos_with_unreadable_dir(self):
@@ -415,7 +415,7 @@ class PydocImportTest(unittest.TestCase):
self.addCleanup(os.rmdir, self.unreadable_dir)
# Note, on Windows the directory appears to be still
# readable so this is not really testing the issue there
- result = run_pydoc('nothing', '-k', PYTHONPATH=TESTFN)
+ result = run_pydoc('zqwykjv', '-k', PYTHONPATH=TESTFN)
self.assertEqual(b'', result)