8000
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 837236a commit 01f8d34Copy full SHA for 01f8d34
sklearn/datasets/tests/test_covtype.py
@@ -6,9 +6,9 @@
6
from sklearn.datasets.tests.test_common import check_return_X_y
7
8
9
-def test_fetch(fetch_covtype_fxt):
10
- data1 = fetch_covtype_fxt(shuffle=True, random_state=42)
11
- data2 = fetch_covtype_fxt(shuffle=True, random_state=37)
+def test_fetch(fetch_covtype_fxt, global_random_seed):
+ data1 = fetch_covtype_fxt(shuffle=True, random_state=global_random_seed)
+ data2 = fetch_covtype_fxt(shuffle=True, random_state=global_random_seed + 1)
12
13
X1, X2 = data1["data"], data2["data"]
14
assert (581012, 54) == X1.shape
0 commit comments