diff options
author | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | 2010-09-21 19:12:39 (GMT) |
---|---|---|
committer | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | 2010-09-21 19:12:39 (GMT) |
commit | f67ea2d0050c45e7ee7120bf1c5ecee622feffcc (patch) | |
tree | ba1989685062aa3817283ea0f82f0e256f4b5684 | |
parent | 2c36c3cc06efcecd75b875b8d9ad28739f97d22e (diff) | |
download | cpython-f67ea2d0050c45e7ee7120bf1c5ecee622feffcc.zip cpython-f67ea2d0050c45e7ee7120bf1c5ecee622feffcc.tar.gz cpython-f67ea2d0050c45e7ee7120bf1c5ecee622feffcc.tar.bz2 |
Merged revisions 84876 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84876 | hirokazu.yamamoto | 2010-09-18 13:42:41 +0900 | 1 line
In Python3000, Tkinter was renamed to tkinter. And print is now function.
........
-rw-r--r-- | Lib/test/test_tcl.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_tcl.py b/Lib/test/test_tcl.py index 542986c..632d5e3 100644 --- a/Lib/test/test_tcl.py +++ b/Lib/test/test_tcl.py @@ -145,9 +145,9 @@ class TclTest(unittest.TestCase): with support.EnvironmentVarGuard() as env: env.unset("TCL_LIBRARY") - f = os.popen('%s -c "import Tkinter; print Tkinter"' % (unc_name,)) + f = os.popen('%s -c "import tkinter; print(tkinter)"' % (unc_name,)) - self.assert_('Tkinter.py' in f.read()) + self.assertIn('tkinter', f.read()) # exit code must be zero self.assertEqual(f.close(), None) |