mirror of
https://github.com/pybind/pybind11.git
synced 2026-03-14 20:27:47 +00:00
Allow perfect forwarding of method args (#2048)
This commit is contained in:
@@ -58,8 +58,8 @@ def test_methods_and_attributes():
|
||||
assert cstats.alive() == 0
|
||||
assert cstats.values() == ["32"]
|
||||
assert cstats.default_constructions == 1
|
||||
assert cstats.copy_constructions == 3
|
||||
assert cstats.move_constructions >= 1
|
||||
assert cstats.copy_constructions == 2
|
||||
assert cstats.move_constructions >= 2
|
||||
assert cstats.copy_assignments == 0
|
||||
assert cstats.move_assignments == 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user