[Python-checkins] cpython (2.7): propgate error in other conditions

benjamin.peterson python-checkins at python.org
Tue Dec 27 22:17:33 CET 2011


http://hg.python.org/cpython/rev/e71e4bd45c89
changeset:   74185:e71e4bd45c89
branch:      2.7
parent:      74181:dc1045d08bd8
user:        Benjamin Peterson <benjamin at python.org>
date:        Tue Dec 27 15:16:34 2011 -0600
summary:
  propgate error in other conditions

files:
  Lib/test/test_epoll.py |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_epoll.py b/Lib/test/test_epoll.py
--- a/Lib/test/test_epoll.py
+++ b/Lib/test/test_epoll.py
@@ -36,6 +36,7 @@
 except IOError, e:
     if e.errno == errno.ENOSYS:
         raise unittest.SkipTest("kernel doesn't support epoll()")
+    raise
 
 class TestEPoll(unittest.TestCase):
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list