[Python-checkins] distutils2: Fix overlooked thinkos in one test file

eric.araujo python-checkins at python.org
Mon May 21 23:03:35 CEST 2012


http://hg.python.org/distutils2/rev/fa61f93eafc7
changeset:   1346:fa61f93eafc7
user:        Éric Araujo <merwok at netwok.org>
date:        Mon May 21 16:26:46 2012 -0400
summary:
  Fix overlooked thinkos in one test file

files:
  distutils2/tests/test_run.py |  6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/distutils2/tests/test_run.py b/distutils2/tests/test_run.py
--- a/distutils2/tests/test_run.py
+++ b/distutils2/tests/test_run.py
@@ -105,19 +105,19 @@
 
     def test_invalid_command(self):
         out, err = self.call_pysetup_fail('run', 'com#mand')
-        self.assertGreater(out, 1)
+        self.assertGreater(out, '')
         self.assertEqual(err.splitlines(),
                          ["error: invalid command name 'com#mand'"])
 
     def test_unknown_command(self):
         out, err = self.call_pysetup_fail('run', 'invalid_command')
-        self.assertGreater(out, 1)
+        self.assertGreater(out, '')
         self.assertEqual(err.splitlines(),
                          ["error: command 'invalid_command' not recognized"])
 
     def test_unknown_action(self):
         out, err = self.call_pysetup_fail('invalid_action')
-        self.assertGreater(out, 1)
+        self.assertGreater(out, '')
         self.assertEqual(err.splitlines(),
                          ["error: action 'invalid_action' not recognized"])
 

-- 
Repository URL: http://hg.python.org/distutils2


More information about the Python-checkins mailing list