summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2012-02-03 22:13:03 (GMT)
committerNed Deily <nad@acm.org>2012-02-03 22:13:03 (GMT)
commit22d2711cb6775b62475a0dbff7e6c4c984b51610 (patch)
treea0d0ed794a50c6e3aec56c69a91633c656aa126b /Lib
parentfbc56fde26b3b59f89cbb18d32154f084f615253 (diff)
downloadcpython-22d2711cb6775b62475a0dbff7e6c4c984b51610.zip
cpython-22d2711cb6775b62475a0dbff7e6c4c984b51610.tar.gz
cpython-22d2711cb6775b62475a0dbff7e6c4c984b51610.tar.bz2
Issue #13861: Prevent test_apropos* test case failures in test_pydoc.
Diffstat (limited to 'Lib')
-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 b433850..59cbffe 100644
--- a/Lib/test/test_pydoc.py
+++ b/Lib/test/test_pydoc.py
@@ -313,7 +313,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('', result)
def test_apropos_with_unreadable_dir(self):
@@ -323,7 +323,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('', result)