Skip to content

Commit 42c3bdd

Browse files
committed
Fix approx usage
1 parent aa0d24b commit 42c3bdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_metalearning/pyMetaLearn/test_meta_features_sparse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def test_percentage_of_features_with_missing_values(sparse_data):
209209
X, y, logging.getLogger('Meta'), categorical))
210210
mf = meta_features.metafeatures["PercentageOfFeaturesWithMissingValues"](
211211
X, y, logging.getLogger('Meta'), categorical)
212-
assert pytest.approx(0, mf.value)
212+
assert mf.value == pytest.approx(0)
213213

214214

215215
def test_num_symbols(sparse_data):

0 commit comments

Comments
 (0)