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:
Vadim Zeitlin 2018-11-26 14:47:20 +01:00
commit 5e7426dcc6
3 changed files with 6 additions and 6 deletions

View file

@ -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")