File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 7
7
8
8
import numpy as np
9
9
10
- from pandas .compat import reduce , string_types
10
+ from pandas .compat import reduce
11
11
from pandas .io .formats .css import CSSResolver , CSSWarning
12
12
from pandas .io .formats .printing import pprint_thing
13
13
from pandas .core .dtypes .common import is_float
Original file line number Diff line number Diff line change @@ -2505,7 +2505,7 @@ class TestFSPath(object):
2505
2505
2506
2506
@pytest .mark .skipif (sys .version_info < (3 , 6 ), reason = 'requires fspath' )
2507
2507
def test_excelfile_fspath (self ):
2508
- _skip_if_no_openpyxl
2508
+ _skip_if_no_openpyxl ()
2509
2509
with tm .ensure_clean ('foo.xlsx' ) as path :
2510
2510
df = DataFrame ({"A" : [1 , 2 ]})
2511
2511
df .to_excel (path )
@@ -2516,7 +2516,7 @@ def test_excelfile_fspath(self):
2516
2516
@pytest .mark .skipif (sys .version_info < (3 , 6 ), reason = 'requires fspath' )
2517
2517
# @pytest.mark.xfail
2518
2518
def test_excelwriter_fspath (self ):
2519
- _skip_if_no_openpyxl
2519
+ _skip_if_no_openpyxl ()
2520
2520
with tm .ensure_clean ('foo.xlsx' ) as path :
2521
2521
writer = ExcelWriter (path )
2522
2522
assert os .fspath (writer ) == str (path )
You can’t perform that action at this time.
0 commit comments