Revert workaround of test_virtual_functions.py from #2746

This commit is contained in:
Yannick Jadoul 2021-01-15 21:12:19 +01:00
parent 0f8d5f2eb6
commit 1992156d6f

View File

@ -251,7 +251,8 @@ def test_dispatch_issue(msg):
== 'Tried to call pure virtual function "Base::dispatch"'
)
return m.dispatch_issue_go(PyClass1())
p = PyClass1()
return m.dispatch_issue_go(p)
b = PyClass2()
assert m.dispatch_issue_go(b) == "Yay.."