Author: Armin Rigo <[email protected]>
Branch:
Changeset: r89572:198ebc8390f0
Date: 2017-01-15 09:07 +0100
http://bitbucket.org/pypy/pypy/changeset/198ebc8390f0/
Log: add a test case
diff --git a/pypy/objspace/std/test/test_typeobject.py
b/pypy/objspace/std/test/test_typeobject.py
--- a/pypy/objspace/std/test/test_typeobject.py
+++ b/pypy/objspace/std/test/test_typeobject.py
@@ -1332,3 +1332,4 @@
assert object.__dict__['__class__'].__objclass__ is object
assert int.__dict__['imag'].__objclass__ is int
assert file.closed.__objclass__ is file
+ assert type.__dict__['__name__'].__objclass__ is type
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit