summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_os.py
diff options
context:
space:
mode:
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