Skip to content

Commit 80cca48

Browse files
add missing strict=False
1 parent 2388fc4 commit 80cca48

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

pandas/tests/indexes/test_old_base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ def test_append_preserves_dtype(self, simple_index):
829829
alt = index.take(list(range(N)) * 2)
830830
tm.assert_index_equal(result, alt, check_exact=True)
831831

832-
@pytest.mark.xfail(using_string_dtype(), reason="TODO(infer_string)")
832+
@pytest.mark.xfail(using_string_dtype(), reason="TODO(infer_string)", strict=False)
833833
def test_inv(self, simple_index, using_infer_string):
834834
idx = simple_index
835835

pandas/tests/io/formats/style/test_to_latex.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ def test_longtable_caption_label(styler, caption, cap_exp, label, lab_exp):
731731
)
732732

733733

734-
@pytest.mark.xfail(using_string_dtype(), reason="TODO(infer_string)")
734+
@pytest.mark.xfail(using_string_dtype(), reason="TODO(infer_string)", strict=False)
735735
@pytest.mark.parametrize("index", [True, False])
736736
@pytest.mark.parametrize(
737737
"columns, siunitx",

pandas/tests/series/methods/test_info.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def test_info_memory_usage_deep_pypy():
142142
assert s_object.memory_usage(deep=True) == s_object.memory_usage()
143143

144144

145-
@pytest.mark.xfail(using_string_dtype(), reason="TODO(infer_string)")
145+
@pytest.mark.xfail(using_string_dtype(), reason="TODO(infer_string)", strict=False)
146146
@pytest.mark.parametrize(
147147
"index, plus",
148148
[

pandas/tests/series/methods/test_replace.py

-1
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,6 @@ def test_replace_mixed_types_with_string(self):
359359
expected = pd.Series([1, np.nan, 3, np.nan, 4, 5], dtype=object)
360360
tm.assert_series_equal(expected, result)
361361

362-
@pytest.mark.xfail(using_string_dtype(), reason="can't fill 0 in string")
363362
@pytest.mark.parametrize(
364363
"categorical, numeric",
365364
[

0 commit comments

Comments
 (0)