Skip to content

Commit 100fd4c

Browse files
committed
fix ruff error E721
1 parent a16fa32 commit 100fd4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_predictors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ def test_esol_from_data():
3434
# series
3535
v = dm.predictors.esol_from_data(data.iloc[0])
3636
v = float(v)
37-
assert type(v) == float
37+
assert isinstance(v, float)
3838

3939
# dict
4040
v = dm.predictors.esol_from_data(data.iloc[0].to_dict())
4141
v = float(v)
42-
assert type(v) == float
42+
assert isinstance(v, float)

0 commit comments

Comments
 (0)