mirror of https://github.com/pybind/pybind11.git
Merge 1992156d6f
into 1f8b4a7f1a
This commit is contained in:
commit
ab53143708
|
@ -253,7 +253,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