diff options
author | mattip <matti.picus@gmail.com> | 2014-06-12 00:05:48 +0300 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2014-06-12 00:05:48 +0300 |
commit | c1086323b577470e62534f53defc53a2574a806e (patch) | |
tree | 560387010faaf56b0d640b24342369f6f0202055 | |
parent | pypy gets os.stat().st_mtime from win32api, cpython from crt (diff) | |
download | pypy-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.py | 2 |
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: |