aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2014-06-12 00:05:48 +0300
committermattip <matti.picus@gmail.com>2014-06-12 00:05:48 +0300
commitc1086323b577470e62534f53defc53a2574a806e (patch)
tree560387010faaf56b0d640b24342369f6f0202055
parentpypy gets os.stat().st_mtime from win32api, cpython from crt (diff)
downloadpypy-c1086323b577470e62534f53defc53a2574a806e.tar.gz
pypy-c1086323b577470e62534f53defc53a2574a806e.tar.bz2
pypy-c1086323b577470e62534f53defc53a2574a806e.zip
pypy and cpython on windows both raise a KeyError
-rw-r--r--rpython/rtyper/module/test/test_ll_os_environ.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpython/rtyper/module/test/test_ll_os_environ.py b/rpython/rtyper/module/test/test_ll_os_environ.py
index 6b0161f028..0bca348871 100644
--- a/rpython/rtyper/module/test/test_ll_os_environ.py
+++ b/rpython/rtyper/module/test/test_ll_os_environ.py
@@ -20,7 +20,7 @@ def test_unset_error():
del os.environ['TEST']
try:
del os.environ['key=']
- except OSError:
+ except (KeyError, OSError):
return 1
return 2
else: