diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-02-08 22:48:59 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-02-08 22:48:59 (GMT) |
commit | cfade36227ce9d986da988c14dd80e21cf485400 (patch) | |
tree | 23114394ecf7c3b933b20fc9d45cd53b0d9416df /Lib/test/test_shutil.py | |
parent | bcf2b59fb5f18c09a26da3e9b60a37367f2a28ba (diff) | |
download | cpython-cfade36227ce9d986da988c14dd80e21cf485400.zip cpython-cfade36227ce9d986da988c14dd80e21cf485400.tar.gz cpython-cfade36227ce9d986da988c14dd80e21cf485400.tar.bz2 |
Relax tests to fix buildbot failure
Diffstat (limited to 'Lib/test/test_shutil.py')
-rw-r--r-- | Lib/test/test_shutil.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_shutil.py b/Lib/test/test_shutil.py index 4d0ef29..6c9515e 100644 --- a/Lib/test/test_shutil.py +++ b/Lib/test/test_shutil.py @@ -1276,8 +1276,8 @@ class TermsizeTests(unittest.TestCase): terminal, so let's check if it returns something sensible instead. """ size = shutil.get_terminal_size() - self.assertGreater(size.columns, 0) - self.assertGreater(size.lines, 0) + self.assertGreaterEqual(size.columns, 0) + self.assertGreaterEqual(size.lines, 0) def test_os_environ_first(self): "Check if environment variables have precedence" |