Author: mattip <[email protected]>
Branch: 
Changeset: r72031:7c92b1fd565a
Date: 2014-06-12 00:05 +0300
http://bitbucket.org/pypy/pypy/changeset/7c92b1fd565a/

Log:    pypy and cpython on windows both raise a KeyError

diff --git a/rpython/rtyper/module/test/test_ll_os_environ.py 
b/rpython/rtyper/module/test/test_ll_os_environ.py
--- a/rpython/rtyper/module/test/test_ll_os_environ.py
+++ b/rpython/rtyper/module/test/test_ll_os_environ.py
@@ -20,7 +20,7 @@
             del os.environ['TEST']
             try:
                 del os.environ['key=']
-            except OSError:
+            except (KeyError, OSError):
                 return 1
             return 2
         else:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to