Skip to content

Commit 8201edb

Browse files
committed
fixup! ENH: Support fspath protocol
1 parent 632a47d commit 8201edb

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

pandas/io/pytables.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,8 @@ def read_hdf(path_or_buf, key=None, **kwargs):
318318
else:
319319
path_or_buf = _stringify_path(path_or_buf)
320320
if not isinstance(path_or_buf, string_types):
321-
raise NotImplementedError('Support for generic buffers has not been '
322-
'implemented.')
321+
raise NotImplementedError('Support for generic buffers has not '
322+
'been implemented.')
323323
try:
324324
exists = os.path.exists(path_or_buf)
325325

pandas/tests/io/sas/test_sas7bdat.py

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import pandas.util.testing as tm
44
import os
55
import io
6-
import pytest
76
import numpy as np
87

98

0 commit comments

Comments
 (0)