summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_simple.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_simple.py b/tests/test_simple.py
index 878e985..e971e22 100644
--- a/tests/test_simple.py
+++ b/tests/test_simple.py
@@ -161,6 +161,7 @@ class AsnycioTest(unittest.IsolatedAsyncioTestCase):
self.assertTrue(fut.done())
exc = fut.exception()
self.assertIsInstance(exc, OSError)
+ assert isinstance(exc, OSError) # also tell mypy
self.assertEqual(exc.errno, errno.EPIPE)