[Python-checkins] distutils2: fixed the coverage measurement so see definitions as covered for version.py and
tarek.ziade
python-checkins at python.org
Sat Oct 2 00:52:19 CEST 2010
tarek.ziade pushed c2707cecd0a6 to distutils2:
http://hg.python.org/distutils2/rev/c2707cecd0a6
changeset: 699:c2707cecd0a6
parent: 697:12c37807f046
user: Yannick Gingras <ygingras at ygingras.net>
date: Wed Sep 29 20:08:52 2010 -0400
summary: fixed the coverage measurement so see definitions as covered for version.py and a few others
files: runtests-cov.py
diff --git a/runtests-cov.py b/runtests-cov.py
--- a/runtests-cov.py
+++ b/runtests-cov.py
@@ -136,8 +136,8 @@
if __name__ == "__main__":
try:
- from distutils2.tests.support import unittest
+ import unittest2
except ImportError:
- sys.stderr.write('Error: You have to install unittest2')
+ sys.stderr.write('Error: You have to install unittest2\n')
sys.exit(1)
sys.exit(test_main())
--
Repository URL: http://hg.python.org/distutils2
More information about the Python-checkins
mailing list