Author: Carl Friedrich Bolz-Tereick <[email protected]>
Branch:
Changeset: r93696:dec4b3e91739
Date: 2018-01-22 16:33 +0100
http://bitbucket.org/pypy/pypy/changeset/dec4b3e91739/
Log: these two tests work nowadays (after one fix)
diff --git a/pypy/objspace/std/test/test_mapdict.py
b/pypy/objspace/std/test/test_mapdict.py
--- a/pypy/objspace/std/test/test_mapdict.py
+++ b/pypy/objspace/std/test/test_mapdict.py
@@ -794,7 +794,6 @@
assert d == {}
def test_change_class_slots(self):
- skip("not supported by pypy yet")
class A(object):
__slots__ = ["x", "y"]
@@ -812,7 +811,6 @@
assert isinstance(a, B)
def test_change_class_slots_dict(self):
- skip("not supported by pypy yet")
class A(object):
__slots__ = ["x", "__dict__"]
class B(object):
@@ -840,7 +838,7 @@
assert a.y == 2
d = a.__dict__
d[1] = 3
- assert d == {"x": 1, "y": 2, 1:3}
+ assert d == {"y": 2, 1: 3}
a.__class__ = B
assert a.x == 1
assert a.y == 2
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit