We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1c3c8e commit b9fe806Copy full SHA for b9fe806
light-curve/tests/light_curve_ext/test_feature.py
@@ -426,12 +426,12 @@ def test_bazin_fit_precise(algo):
426
@pytest.mark.parametrize("feature", gen_feature_evaluators(parametric_variants=5, rng=0))
427
def test_json_serialization(feature):
428
n_obs = 128
429
- data = gen_lc(n_obs)
+ data = gen_lc(n_obs, rng=0)
430
values = feature(*data)
431
432
from_to_json = lc.feature_from_json(feature.to_json())
433
values_from_to_json = from_to_json(*data)
434
- assert_allclose(values, values_from_to_json, rtol=1e-6)
+ assert_allclose(values, values_from_to_json)
435
436
437
def test_json_deserialization():
0 commit comments