From 72ced396b9c949aec17a3196d12957138299aeda Mon Sep 17 00:00:00 2001 From: ?ric Araujo Date: Mon, 21 May 2012 16:26:46 -0400 Subject: Fix overlooked thinkos in one test file --- distutils2/tests/test_run.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/distutils2/tests/test_run.py b/distutils2/tests/test_run.py index eacec91..6f87a67 100644 --- a/distutils2/tests/test_run.py +++ b/distutils2/tests/test_run.py @@ -105,19 +105,19 @@ class RunTestCase(support.TempdirManager, 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"]) -- cgit v1.2.1