Skip to content
Snippets Groups Projects
Commit f1990920 authored by Timo Koch's avatar Timo Koch
Browse files

[test][python] Fix equality test

parent f3511d54
No related branches found
No related tags found
2 merge requests!1269[1pncmin tests changed],!1236[test][python] Fix equality test
......@@ -56,7 +56,7 @@ subprocess.call(['cat', testname + '.log'])
# check the rates, we expect rates around 2
for r in results:
if int(round(r)) is not 2:
if int(round(r)) != 2:
sys.stderr.write("*"*70 + "\n" + "The convergence rates were not close enough to 2! Test failed.\n" + "*"*70 + "\n")
sys.exit(1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment