mirror of https://github.com/pybind/pybind11.git
Compare commits
2 Commits
ab53143708
...
0db112a1c7
Author | SHA1 | Date |
---|---|---|
Yannick Jadoul | 0db112a1c7 | |
Yannick Jadoul | 1992156d6f |
|
@ -249,7 +249,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