Skip to content

Commit

Permalink
skip timezone tests that fail in test collection
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip committed Aug 29, 2023
1 parent be01406 commit ab9f1c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pandas/tests/tools/test_to_datetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,7 @@ def test_to_datetime_mixed_date_and_string(self, format):
expected = DatetimeIndex(["2020-01-01", "2020-01-02"])
tm.assert_index_equal(res, expected)

@pytest.skipif(tm.IS_PYPY, reason="PyPy crashes creating DatimeIndex with timezone")
@pytest.mark.parametrize(
"fmt",
["%Y-%d-%m %H:%M:%S%z", "%Y-%m-%d %H:%M:%S%z"],
Expand Down

0 comments on commit ab9f1c4

Please sign in to comment.