summaryrefslogtreecommitdiff
path: root/tests/errors/builtin_type_inheritance.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errors/builtin_type_inheritance.pyx')
-rw-r--r--tests/errors/builtin_type_inheritance.pyx4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/errors/builtin_type_inheritance.pyx b/tests/errors/builtin_type_inheritance.pyx
index 1c6ad31e1..a85f7a133 100644
--- a/tests/errors/builtin_type_inheritance.pyx
+++ b/tests/errors/builtin_type_inheritance.pyx
@@ -8,11 +8,9 @@ cdef class MyTuple(tuple):
cdef class MyBytes(bytes):
pass
-cdef class MyStr(str): # only in Py2, but can't know that during compilation
- pass
+# str is also included in this in Py2, but checked at runtime instead
_ERRORS = """
5:19: inheritance from PyVarObject types like 'tuple' is not currently supported
8:19: inheritance from PyVarObject types like 'bytes' is not currently supported
-11:17: inheritance from PyVarObject types like 'str' is not currently supported
"""