From b1d6f858d4dfab629a7dd453808bb37668e63514 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Sun, 5 May 2013 23:22:19 -0400 Subject: [PATCH] Issue17883: Update to assertIn to see why test fails on one buildbot. --- Lib/test/test_tcl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_tcl.py b/Lib/test/test_tcl.py index 8db11dc77d05..ea3d87d7b57d 100644 --- a/Lib/test/test_tcl.py +++ b/Lib/test/test_tcl.py @@ -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) -- 2.47.3