Skip to content

TST: Added test for json containing the key "last_status_change_at" #34169

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

Closed

Conversation

rivera-fernando
Copy link

@rivera-fernando rivera-fernando commented May 14, 2020

TST
Added test for issue pandas-dev#32409, json containing dicts containing the key last_status_change_at
Copy link
Member

@mroeschke mroeschke left a comment

Choose a reason for hiding this comment

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

Could you move this test to pandas/tests/frame/methods/test_describe.py?

And structure the test similar to what is describe in our guide?

https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#writing-tests

@mroeschke mroeschke added the Testing pandas testing functions or related to the test suite label May 14, 2020


def test__unhashable_dict():
result = pd.DataFrame(
Copy link
Member

Choose a reason for hiding this comment

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

@jreback
Copy link
Contributor

jreback commented Jun 14, 2020

@rivera-fernando can you merge master and respond to comments


def test_unhashable_dict():
# GH#32409
result = pd.DataFrame(
Copy link
Member

Choose a reason for hiding this comment

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

Thanks @rivera-fernando

What's the difference between result and expected? Can you construct result using .describe (as in the original issue)?

@simonjayhawkins
Copy link
Member

closing as stale

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

Successfully merging this pull request may close these issues.

pandas1.0.1 has trouble with certain column names
5 participants