diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-05-20 13:10:04 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-05-20 13:10:04 (GMT) |
commit | e98209c2b446205547e2298b7e6300098cfa578e (patch) | |
tree | a79fc004850e681d3a31b0175ad3568ef1a45f08 /Lib/test/test_urllib2net.py | |
parent | ba9ac5b5c42a9bba54942211a3b00a1c3ce7bb23 (diff) | |
download | cpython-e98209c2b446205547e2298b7e6300098cfa578e.zip cpython-e98209c2b446205547e2298b7e6300098cfa578e.tar.gz cpython-e98209c2b446205547e2298b7e6300098cfa578e.tar.bz2 |
Issue #24245: Eliminated senseless expect clauses that have no any effect.
Patch by Martin Panter.
Diffstat (limited to 'Lib/test/test_urllib2net.py')
-rw-r--r-- | Lib/test/test_urllib2net.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/test_urllib2net.py b/Lib/test/test_urllib2net.py index 17f9d1b..cad83fd 100644 --- a/Lib/test/test_urllib2net.py +++ b/Lib/test/test_urllib2net.py @@ -20,8 +20,6 @@ def _retry_thrice(func, exc, *args, **kwargs): except exc as e: last_exc = e continue - except: - raise raise last_exc def _wrap_with_retry_thrice(func, exc): |