diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2014-06-30 01:05:54 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2014-06-30 01:05:54 (GMT) |
commit | 977c8a354c9987c81b0c1f691fc3fd6f4213f6e3 (patch) | |
tree | d7c472282c10ca7680fd2d6513e3225f6a5739ad /Lib | |
parent | de68722ca06615692613148b7015b3c62cd043c3 (diff) | |
parent | 67ef591045217b87fcb4c1ed2cc94326df685901 (diff) | |
download | cpython-977c8a354c9987c81b0c1f691fc3fd6f4213f6e3.zip cpython-977c8a354c9987c81b0c1f691fc3fd6f4213f6e3.tar.gz cpython-977c8a354c9987c81b0c1f691fc3fd6f4213f6e3.tar.bz2 |
Issue #14235: Merge from 3.4.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_cmd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_cmd.py b/Lib/test/test_cmd.py index e9a0211..0c31454 100644 --- a/Lib/test/test_cmd.py +++ b/Lib/test/test_cmd.py @@ -229,7 +229,7 @@ def test_coverage(coverdir): trace = support.import_module('trace') tracer=trace.Trace(ignoredirs=[sys.base_prefix, sys.base_exec_prefix,], trace=0, count=1) - tracer.run('reload(cmd);test_main()') + tracer.run('import importlib; importlib.reload(cmd); test_main()') r=tracer.results() print("Writing coverage results...") r.write_results(show_missing=True, summary=True, coverdir=coverdir) |