[Python-checkins] cpython (2.7): Issue17883: Update to assertIn to see why test fails on one buildbot.
terry.reedy
python-checkins at python.org
Mon May 6 05:22:40 CEST 2013
http://hg.python.org/cpython/rev/b1abc5800e2b
changeset: 83637:b1abc5800e2b
branch: 2.7
parent: 83632:763d260414d1
user: Terry Jan Reedy <tjreedy at udel.edu>
date: Sun May 05 23:22:19 2013 -0400
summary:
Issue17883: Update to assertIn to see why test fails on one buildbot.
files:
Lib/test/test_tcl.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_tcl.py b/Lib/test/test_tcl.py
--- a/Lib/test/test_tcl.py
+++ b/Lib/test/test_tcl.py
@@ -148,7 +148,7 @@
env.unset("TCL_LIBRARY")
f = os.popen('%s -c "import Tkinter; print Tkinter"' % (unc_name,))
- self.assertTrue('Tkinter.py' in f.read())
+ self.assertIn('Tkinter.py', f.read())
# exit code must be zero
self.assertEqual(f.close(), None)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list