Author: Carl Friedrich Bolz-Tereick <[email protected]>
Branch: py3.6
Changeset: r94690:cbea6ffdd672
Date: 2018-05-26 15:23 +0200
http://bitbucket.org/pypy/pypy/changeset/cbea6ffdd672/

Log:    calling subtypes of type with one arg is not supported any more

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
@@ -95,8 +95,6 @@
         class A(type):
             pass
 
-        assert A("hello") is str
-
         # Make sure type(x) doesn't call x.__class__.__init__
         class T(type):
             counter = 0
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to