Add subclassing testcase which previously caused a segfault

Add a testcase from #407. Both test cases don't segfault after the
change to the #[pyclass] system in #683.

Closes #407
This commit is contained in:
Alexander Niederbühl 2020-01-11 18:24:50 +01:00
parent fb17d5e82f
commit 3dc5b86f22

View file

@ -9,6 +9,7 @@ class SomeSubClass(Subclassable):
pass
def test_subclassing():
if not PYPY:
a = SomeSubClass()
_b = str(a) + repr(a)