Skip to content

Commit ca884f5

Browse files
committed
TST: add assertion that we will actually read a file
1 parent 2e3c4ea commit ca884f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/io/tests/test_html.py

+1
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,7 @@ def read_string(self, f, encoding):
622622
return self.read_html(fobj.read(), encoding=encoding, index_col=0)
623623

624624
def test_encode(self):
625+
assert self.files, 'no files read from the data folder'
625626
for f in self.files:
626627
_, encoding = _lang_enc(f)
627628
from_string = self.read_string(f, encoding).pop()

0 commit comments

Comments
 (0)