mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-21 20:55:11 +00:00
Revert workaround of test_virtual_functions.py from #2746
This commit is contained in:
parent
0f8d5f2eb6
commit
1992156d6f
@ -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.."
|
||||
|
Loading…
Reference in New Issue
Block a user