commit | 016880229a369a3fb419f3eed28b6db7c342fe71 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Sun Aug 12 00:43:29 2007 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Sun Aug 12 00:43:29 2007 +0000 |
tree | 9b11de5c197bc556dd515e035327673765cd4871 | |
parent | 41eaedd3613cebc83e6b9925499369992c7a7770 [diff] [blame] |
Kill execfile(), use exec() instead
diff --git a/Lib/test/test_multibytecodec.py b/Lib/test/test_multibytecodec.py index 32c48fb..c2f34e5 100644 --- a/Lib/test/test_multibytecodec.py +++ b/Lib/test/test_multibytecodec.py
@@ -49,7 +49,7 @@ try: for enc in ALL_CJKENCODINGS: print('# coding:', enc, file=io.open(TESTFN, 'w')) - execfile(TESTFN) + exec(open(TESTFN).read()) finally: test_support.unlink(TESTFN)