[Python-checkins] distutils2: broken test_suite option passing

tarek.ziade python-checkins at python.org
Sun Sep 19 10:20:20 CEST 2010


tarek.ziade pushed 18cb03289181 to distutils2:
http://hg.python.org/distutils2/rev/18cb03289181
changeset: 597:18cb03289181
user: Konrad Delong <konryd at gmail.com>
date: Tue Jul 27 14:36:13 2010 +0200
summary: broken test_suite option passing
files: src/distutils2/tests/test_test.py
diff --git a/src/distutils2/tests/test_test.py b/src/distutils2/tests/test_test.py
--- a/src/distutils2/tests/test_test.py
+++ b/src/distutils2/tests/test_test.py
@@ -19,6 +19,7 @@
 setup(name='somedist',
 version='0.1',
 py_modules=['myowntestmodule', 'somemod'],
+ test_suite='myowntestmodule',
 )
 '''
 
@@ -59,7 +60,6 @@
 
 def test_runs_simple_tests(self):
 command = [sys.executable, "setup.py", "test"]
- command += ['--test-suite', 'myowntestmodule']
 test_proc = subprocess.Popen(command, stderr=subprocess.PIPE, stdout=subprocess.PIPE)
 _, errors = test_proc.communicate()
 
--
Repository URL: http://hg.python.org/distutils2


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /