Skip to content

Commit ab467da

Browse files
committed
Fix isinstance check.
1 parent bde53cc commit ab467da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ def test_data_naming():
451451

452452
def test_get_data():
453453
data = pm.get_data("radon.csv")
454-
assert type(data) == io.BytesIO
454+
assert isinstance(data, io.BytesIO)
455455

456456

457457
class _DataSampler:

0 commit comments

Comments
 (0)