Skip to content

Commit 1c4737d

Browse files
committed
run ONE Active
1 parent 522aff1 commit 1c4737d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/test_harness.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,15 @@ def testActiveComponents(tmp_path):
7070
Shows what we expect an active example test to achieve and provides "the right answer"
7171
"""
7272
test_file = create_test_dataset(tmp_path)
73-
active = Active(test_file, "data", utils.get_storage_type())
74-
active._version = 0
75-
d = active[0:2, 4:6, 7:9]
76-
mean_result = np.mean(d)
73+
#active = Active(test_file, "data", utils.get_storage_type())
74+
#active._version = 0
75+
#d = active[0:2, 4:6, 7:9]
76+
#mean_result = np.mean(d)
7777

7878
active = Active(test_file, "data", utils.get_storage_type())
7979
active._version = 2
8080
active.method = "mean"
8181
active.components = True
8282
result2 = active[0:2, 4:6, 7:9]
8383
print(result2)
84-
assert mean_result == result2["sum"]/result2["n"]
84+
#assert mean_result == result2["sum"]/result2["n"]

0 commit comments

Comments
 (0)