Skip to content

TST: prepare for freq-checking in tests.io #33711

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 24, 2020

Conversation

jbrockmendel
Copy link
Member

Working on making assert_index_equal check that freq attrs match. This ports the necessary test changes from tests.io.

@@ -226,6 +226,11 @@ def test_roundtrip_empty(self, orient, convert_axes, numpy, empty_frame):
@pytest.mark.parametrize("numpy", [True, False])
def test_roundtrip_timestamp(self, orient, convert_axes, numpy, datetime_frame):
# TODO: improve coverage with date_format parameter

# freq doesnt round-trip
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why don’t u just change this in the fixture? tsframe

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated per suggestion

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gentle ping; plenty more of these before were done

@jreback jreback added Testing pandas testing functions or related to the test suite Frequency DateOffsets labels Apr 24, 2020
@jreback jreback added this to the 1.1 milestone Apr 24, 2020
@jreback jreback merged commit ea09d50 into pandas-dev:master Apr 24, 2020
@jreback
Copy link
Contributor

jreback commented Apr 24, 2020

these are fine

if u can tag with labels and milestone would be great

@jbrockmendel jbrockmendel deleted the tst-check-freq-pre-1 branch April 24, 2020 23:24
rhshadrach pushed a commit to rhshadrach/pandas that referenced this pull request May 10, 2020
* TST: prepare for freq-checking in tests.io

* Update fixture
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frequency DateOffsets Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants