mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-11 08:03:55 +00:00
Compare commits
2 Commits
ab53143708
...
0db112a1c7
Author | SHA1 | Date | |
---|---|---|---|
|
0db112a1c7 | ||
|
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
Block a user