[Python-checkins] distutils2: improved code coverage
tarek.ziade
python-checkins at python.org
Sun Jan 23 15:48:23 CET 2011
tarek.ziade pushed df746d072c26 to distutils2:
http://hg.python.org/distutils2/rev/df746d072c26
changeset: 859:df746d072c26
user: George Peristerakis <peristerakis at gmail.com>
date: Wed Dec 08 21:17:50 2010 -0500
summary:
improved code coverage
files:
distutils2/tests/test_mixin2to3.py
diff --git a/distutils2/tests/test_mixin2to3.py b/distutils2/tests/test_mixin2to3.py
--- a/distutils2/tests/test_mixin2to3.py
+++ b/distutils2/tests/test_mixin2to3.py
@@ -60,7 +60,7 @@
mixin2to3 = Mixin2to3()
- mixin2to3._run_2to3(files=[code_name],
+ mixin2to3._run_2to3(files=[code_name], doctests=[code_name],
fixers=['distutils2.tests.fixer'])
converted_code_content = "isinstance(x, T)"
new_code_content = "".join(open(code_name).readlines())
--
Repository URL: http://hg.python.org/distutils2
More information about the Python-checkins
mailing list