@@ -909,7 +909,6 @@ def test_put_integer(self, setup_path):
909
909
df = DataFrame (np .random .randn (50 , 100 ))
910
910
self ._check_roundtrip (df , tm .assert_frame_equal , setup_path )
911
911
912
- @td .xfail_non_writeable
913
912
def test_put_mixed_type (self , setup_path ):
914
913
df = tm .makeTimeDataFrame ()
915
914
df ["obj1" ] = "foo"
@@ -1518,9 +1517,7 @@ def test_to_hdf_with_min_itemsize(self, setup_path):
1518
1517
pd .read_hdf (path , "ss4" ), pd .concat ([df ["B" ], df2 ["B" ]])
1519
1518
)
1520
1519
1521
- @pytest .mark .parametrize (
1522
- "format" , [pytest .param ("fixed" , marks = td .xfail_non_writeable ), "table" ]
1523
- )
1520
+ @pytest .mark .parametrize ("format" , ["fixed" , "table" ])
1524
1521
def test_to_hdf_errors (self , format , setup_path ):
1525
1522
1526
1523
data = ["\ud800 foo" ]
@@ -1956,7 +1953,6 @@ def test_pass_spec_to_storer(self, setup_path):
1956
1953
with pytest .raises (TypeError ):
1957
1954
store .select ("df" , where = [("columns=A" )])
1958
1955
1959
- @td .xfail_non_writeable
1960
1956
def test_append_misc (self , setup_path ):
1961
1957
1962
1958
with ensure_clean_store (setup_path ) as store :
@@ -2164,7 +2160,6 @@ def test_unimplemented_dtypes_table_columns(self, setup_path):
2164
2160
with pytest .raises (TypeError ):
2165
2161
store .append ("df_unimplemented" , df )
2166
2162
2167
- @td .xfail_non_writeable
2168
2163
@pytest .mark .skipif (
2169
2164
LooseVersion (np .__version__ ) == LooseVersion ("1.15.0" ),
2170
2165
reason = (
@@ -2399,7 +2394,6 @@ def test_float_index(self, setup_path):
2399
2394
s = Series (np .random .randn (10 ), index = index )
2400
2395
self ._check_roundtrip (s , tm .assert_series_equal , path = setup_path )
2401
2396
2402
- @td .xfail_non_writeable
2403
2397
def test_tuple_index (self , setup_path ):
2404
2398
2405
2399
# GH #492
@@ -2412,7 +2406,6 @@ def test_tuple_index(self, setup_path):
2412
2406
simplefilter ("ignore" , pd .errors .PerformanceWarning )
2413
2407
self ._check_roundtrip (DF , tm .assert_frame_equal , path = setup_path )
2414
2408
2415
- @td .xfail_non_writeable
2416
2409
@pytest .mark .filterwarnings ("ignore::pandas.errors.PerformanceWarning" )
2417
2410
def test_index_types (self , setup_path ):
2418
2411
@@ -2474,7 +2467,6 @@ def test_timeseries_preepoch(self, setup_path):
2474
2467
except OverflowError :
2475
2468
pytest .skip ("known failer on some windows platforms" )
2476
2469
2477
- @td .xfail_non_writeable
2478
2470
@pytest .mark .parametrize (
2479
2471
"compression" , [False , pytest .param (True , marks = td .skip_if_windows_python_3 )]
2480
2472
)
@@ -2508,7 +2500,6 @@ def test_frame(self, compression, setup_path):
2508
2500
# empty
2509
2501
self ._check_roundtrip (df [:0 ], tm .assert_frame_equal , path = setup_path )
2510
2502
2511
- @td .xfail_non_writeable
2512
2503
def test_empty_series_frame (self , setup_path ):
2513
2504
s0 = Series (dtype = object )
2514
2505
s1 = Series (name = "myseries" , dtype = object )
@@ -2522,7 +2513,6 @@ def test_empty_series_frame(self, setup_path):
2522
2513
self ._check_roundtrip (df1 , tm .assert_frame_equal , path = setup_path )
2523
2514
self ._check_roundtrip (df2 , tm .assert_frame_equal , path = setup_path )
2524
2515
2525
- @td .xfail_non_writeable
2526
2516
@pytest .mark .parametrize (
2527
2517
"dtype" , [np .int64 , np .float64 , object , "m8[ns]" , "M8[ns]" ]
2528
2518
)
@@ -2608,7 +2598,6 @@ def test_store_series_name(self, setup_path):
2608
2598
recons = store ["series" ]
2609
2599
tm .assert_series_equal (recons , series )
2610
2600
2611
- @td .xfail_non_writeable
2612
2601
@pytest .mark .parametrize (
2613
2602
"compression" , [False , pytest .param (True , marks = td .skip_if_windows_python_3 )]
2614
2603
)
@@ -4176,7 +4165,6 @@ def test_pytables_native2_read(self, datapath, setup_path):
4176
4165
d1 = store ["detector" ]
4177
4166
assert isinstance (d1 , DataFrame )
4178
4167
4179
- @td .xfail_non_writeable
4180
4168
def test_legacy_table_fixed_format_read_py2 (self , datapath , setup_path ):
4181
4169
# GH 24510
4182
4170
# legacy table with fixed format written in Python 2
@@ -4350,7 +4338,6 @@ def test_unicode_longer_encoded(self, setup_path):
4350
4338
result = store .get ("df" )
4351
4339
tm .assert_frame_equal (result , df )
4352
4340
4353
- @td .xfail_non_writeable
4354
4341
def test_store_datetime_mixed (self , setup_path ):
4355
4342
4356
4343
df = DataFrame ({"a" : [1 , 2 , 3 ], "b" : [1.0 , 2.0 , 3.0 ], "c" : ["a" , "b" , "c" ]})
0 commit comments