Commit 94a2d7da authored by Pavel KORSHUNOV's avatar Pavel KORSHUNOV
Browse files

fixing tests

parent 8e3977da
Pipeline #3923 failed with stages
in 47 minutes and 56 seconds
......@@ -68,7 +68,8 @@ def _spoof(parameters, cur_test_dir, sub_dir, score_types=('dev-real',), scores_
# assert that the data order is still correct
assert (data2check[0][:, 0:3] == data2check[1][:, 0:3]).all()
# assert that the values are OK
assert numpy.allclose(data2check[0][:, 3].astype(float), data2check[1][:, 3].astype(float), 1e-5)
print (data2check)
assert numpy.allclose(data2check[0][:, 3].astype(float), data2check[1][:, 3].astype(float), 1e-3)
finally:
shutil.rmtree(cur_test_dir)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment