Commit ae4f3554 authored by Terry Jan Reedy's avatar Terry Jan Reedy

Issue17883: Update to assertIn to see why test fails on one buildbot.

parent 6758b386
......@@ -148,7 +148,7 @@ class TclTest(unittest.TestCase):
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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment