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:
parent
fb17d5e82f
commit
3dc5b86f22
|
@ -9,6 +9,7 @@ class SomeSubClass(Subclassable):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
if not PYPY:
|
def test_subclassing():
|
||||||
a = SomeSubClass()
|
if not PYPY:
|
||||||
_b = str(a) + repr(a)
|
a = SomeSubClass()
|
||||||
|
_b = str(a) + repr(a)
|
||||||
|
|
Loading…
Reference in a new issue