Avoid comparing doubles in nested_in_template.i unit test
This should also have been part of
30bb977a64
See #1358.
This commit is contained in:
parent
73ea48ba4a
commit
5e7426dcc6
3 changed files with 6 additions and 6 deletions
|
|
@ -1,5 +1,5 @@
|
|||
from nested_in_template import *
|
||||
|
||||
cd = ConcreteDerived(8.8)
|
||||
if cd.m_value != 8.8:
|
||||
cd = ConcreteDerived(88)
|
||||
if cd.m_value != 88:
|
||||
raise RuntimeError("ConcreteDerived not created correctly")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue