Merged revisions 86596 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line
#9424: Replace deprecated assert* methods in the Python test suite.
........
diff --git a/Lib/test/test_tcl.py b/Lib/test/test_tcl.py
index 1b3c1cc..e8ba58f 100644
--- a/Lib/test/test_tcl.py
+++ b/Lib/test/test_tcl.py
@@ -147,7 +147,7 @@
env.unset("TCL_LIBRARY")
f = os.popen('%s -c "import Tkinter; print Tkinter"' % (unc_name,))
- self.assert_('Tkinter.py' in f.read())
+ self.assertTrue('Tkinter.py' in f.read())
# exit code must be zero
self.assertEqual(f.close(), None)