Author: Ronan Lamy <[email protected]>
Branch: py3.5
Changeset: r93420:e170f5f30e32
Date: 2017-12-14 04:54 +0000
http://bitbucket.org/pypy/pypy/changeset/e170f5f30e32/
Log: Add failing test that explains the failure in CPython's
test_unencodable_filename()
diff --git a/pypy/objspace/std/test/test_celldict.py
b/pypy/objspace/std/test/test_celldict.py
--- a/pypy/objspace/std/test/test_celldict.py
+++ b/pypy/objspace/std/test/test_celldict.py
@@ -76,6 +76,8 @@
def test_key_not_there(self):
d = type(__builtins__)("abc").__dict__
raises(KeyError, "d['def']")
+ assert 42 not in d
+ assert u"\udc00" not in d
def test_fallback_evil_key(self):
class F(object):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit