summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_os.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-02-08 22:48:59 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-02-08 22:48:59 (GMT)
commitcfade36227ce9d986da988c14dd80e21cf485400 (patch)
tree23114394ecf7c3b933b20fc9d45cd53b0d9416df /Lib/test/test_os.py
parentbcf2b59fb5f18c09a26da3e9b60a37367f2a28ba (diff)
downloadcpython-cfade36227ce9d986da988c14dd80e21cf485400.zip
cpython-cfade36227ce9d986da988c14dd80e21cf485400.tar.gz
cpython-cfade36227ce9d986da988c14dd80e21cf485400.tar.bz2
Relax tests to fix buildbot failure
Diffstat (limited to 'Lib/test/test_os.py')
-rw-r--r--Lib/test/test_os.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index 8dd745a..b9eb290 100644
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -1857,8 +1857,8 @@ class TermsizeTests(unittest.TestCase):
self.skipTest("failed to query terminal size")
raise
- self.assertGreater(size.columns, 0)
- self.assertGreater(size.lines, 0)
+ self.assertGreaterEqual(size.columns, 0)
+ self.assertGreaterEqual(size.lines, 0)
def test_stty_match(self):
"""Check if stty returns the same results