aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_termios.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_termios.py')
-rw-r--r--Lib/test/test_termios.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_termios.py b/Lib/test/test_termios.py
index e5d11cf84d2..ce8392a6ccd 100644
--- a/Lib/test/test_termios.py
+++ b/Lib/test/test_termios.py
@@ -290,8 +290,8 @@ class TestModule(unittest.TestCase):
self.assertGreaterEqual(value, 0)
def test_exception(self):
- self.assertTrue(issubclass(termios.error, Exception))
- self.assertFalse(issubclass(termios.error, OSError))
+ self.assertIsSubclass(termios.error, Exception)
+ self.assertNotIsSubclass(termios.error, OSError)
if __name__ == '__main__':