Commit c2b83363 authored by Manuel Günther's avatar Manuel Günther
Browse files

Updated detected test data

parent 1a3753af
......@@ -15,7 +15,17 @@ regenerate_refs = False
from import _annotation, _compare
from import _annotation
def _compare(data, reference, write_function =, read_function =, atol = 1e-5, rtol = 1e-8):
# write reference?
if regenerate_refs:
write_function(data, reference)
# compare reference
reference = read_function(reference)
assert numpy.allclose(data, reference, atol=atol, rtol=rtol)
return reference
def _image(preprocessor):
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