Skip to content

Commit 086c102

Browse files
Remove unused import
1 parent 002f1e0 commit 086c102

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pandas/tests/io/excel/test_readers.py

-3
Original file line numberDiff line numberDiff line change
@@ -629,13 +629,10 @@ def test_read_from_py_localpath(self, read_ext):
629629

630630
tm.assert_frame_equal(expected, actual)
631631

632-
@td.skip_if_no("py.path")
633632
@td.check_file_leaks
634633
def test_close_from_py_localpath(self, read_ext):
635634

636635
# GH31467
637-
from py.path import local as LocalPath
638-
639636
str_path = os.path.join("test1" + read_ext)
640637
with open(str_path, "rb") as f:
641638
x = pd.read_excel(f, "Sheet1", index_col=0)

0 commit comments

Comments
 (0)