diff options
author | Jeffrey Yasskin <jyasskin@gmail.com> | 2008-04-04 16:48:19 (GMT) |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@gmail.com> | 2008-04-04 16:48:19 (GMT) |
commit | e71d8124c2ed15967ed92a16418107cf1a07cde0 (patch) | |
tree | 3b953543b61cc0ab9b66d8ce888dec030d3a0825 /Lib | |
parent | e1929d5133f383ad5e08d8c94f11710a8228f94d (diff) | |
download | cpython-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.py | 2 |
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 |