summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@gmail.com>2008-04-04 16:48:19 (GMT)
committerJeffrey Yasskin <jyasskin@gmail.com>2008-04-04 16:48:19 (GMT)
commite71d8124c2ed15967ed92a16418107cf1a07cde0 (patch)
tree3b953543b61cc0ab9b66d8ce888dec030d3a0825 /Lib
parente1929d5133f383ad5e08d8c94f11710a8228f94d (diff)
downloadcpython-e71d8124c2ed15967ed92a16418107cf1a07cde0.zip
cpython-e71d8124c2ed15967ed92a16418107cf1a07cde0.tar.gz
cpython-e71d8124c2ed15967ed92a16418107cf1a07cde0.tar.bz2
Oops again. EINTR is in errno, not signal.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_signal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py
index dea518a..5cbf7a8 100644
--- a/Lib/test/test_signal.py
+++ b/Lib/test/test_signal.py
@@ -32,7 +32,7 @@ def ignoring_eintr(__func, *args, **kwargs):
try:
return __func(*args, **kwargs)
except EnvironmentError as e:
- if e.errno != signal.EINTR:
+ if e.errno != errno.EINTR:
raise
return None