Skip to content
Snippets Groups Projects
Commit 5515b6e6 authored by David Schäfer's avatar David Schäfer
Browse files

mark respective test

parent 4ea5e313
No related branches found
No related tags found
1 merge request!681Pending deprecation for flagCrossStatistics
Pipeline #165249 passed with stages
in 6 minutes and 49 seconds
......@@ -6,8 +6,6 @@
# -*- coding: utf-8 -*-
import itertools
import numpy as np
import pandas as pd
......@@ -139,9 +137,10 @@ def test_flagCrossStatistics(dat):
data = DictOfSeries(field1=s1, field2=s2)
flags = initFlagsLike(data)
qc = SaQC(data, flags).flagCrossStatistics(
fields, thresh=3, method=np.mean, flag=BAD
)
with pytest.deprecated_call():
qc = SaQC(data, flags).flagCrossStatistics(
fields, thresh=3, method=np.mean, flag=BAD
)
for field in fields:
isflagged = qc.flags[field] > UNFLAGGED
assert isflagged[characteristics["raise"]].all()
......
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