[Python-checkins] cpython (3.2): Issue #13861: Prevent test_apropos* test case failures in test_pydoc.

ned.deily python-checkins at python.org
Fri Feb 3 23:16:47 CET 2012


http://hg.python.org/cpython/rev/5eb47e1732a0
changeset: 74746:5eb47e1732a0
branch: 3.2
parent: 74738:6f6100a752ba
user: Ned Deily <nad at acm.org>
date: Fri Feb 03 23:14:37 2012 +0100
summary:
 Issue #13861: Prevent test_apropos* test case failures in test_pydoc.
files:
 Lib/test/test_pydoc.py | 4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Lib/test/test_pydoc.py b/Lib/test/test_pydoc.py
--- a/Lib/test/test_pydoc.py
+++ b/Lib/test/test_pydoc.py
@@ -399,7 +399,7 @@
 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):
@@ -409,7 +409,7 @@
 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)
 
 
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /