diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-03-20 19:16:47 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-03-20 19:16:47 (GMT) |
commit | c9b3ef2df06818f055e555c1d23e3ff2d5bf2d74 (patch) | |
tree | e157db4bfab86a28530fb2a4ea77c075003f98aa /Lib/test | |
parent | a612176c9c0c82138e797c2abadb6ef65e97b44a (diff) | |
download | cpython-c9b3ef2df06818f055e555c1d23e3ff2d5bf2d74.zip cpython-c9b3ef2df06818f055e555c1d23e3ff2d5bf2d74.tar.gz cpython-c9b3ef2df06818f055e555c1d23e3ff2d5bf2d74.tar.bz2 |
Issue #16997: unittest.TestCase now provides a subTest() context manager to procedurally generate, in an easy way, small test instances.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_socket.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index d4ea43a..ec76671 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -2,7 +2,6 @@ import unittest from test import support -from unittest.case import _ExpectedFailure import errno import io @@ -272,9 +271,6 @@ class ThreadableTest: raise TypeError("test_func must be a callable function") try: test_func() - except _ExpectedFailure: - # We deliberately ignore expected failures - pass except BaseException as e: self.queue.put(e) finally: |