Skip to content

Commit 786a01c

Browse files
Fix test_data_drift.py import order
1 parent 3d138c7 commit 786a01c

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

frouros/tests/integration/test_data_drift.py

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,17 @@
44

55
import numpy as np # type: ignore
66
import pytest # type: ignore
7+
from scipy.stats import PermutationMethod # type: ignore
78

9+
from frouros.detectors.data_drift.batch import (
10+
AndersonDarlingTest,
11+
BWSTest,
12+
ChiSquareTest,
13+
CVMTest,
14+
KSTest,
15+
MannWhitneyUTest,
16+
WelchTTest,
17+
)
818
from frouros.detectors.data_drift.batch import (
919
BhattacharyyaDistance,
1020
EMD,
@@ -16,23 +26,12 @@
1626
KL,
1727
MMD,
1828
)
19-
from frouros.detectors.data_drift.batch import (
20-
AndersonDarlingTest,
21-
BWSTest,
22-
ChiSquareTest,
23-
CVMTest,
24-
KSTest,
25-
MannWhitneyUTest,
26-
WelchTTest,
27-
)
2829
from frouros.detectors.data_drift.batch.base import BaseDataDriftBatch
2930
from frouros.detectors.data_drift.streaming import ( # noqa: N811
3031
IncrementalKSTest,
3132
MMD as MMDStreaming,
3233
)
3334

34-
from scipy.stats import PermutationMethod # type: ignore
35-
3635

3736
@pytest.mark.parametrize(
3837
"detector, expected_statistic, expected_p_value",

0 commit comments

Comments
 (0)