Skip to content

TST: add read_json test #GH32383 #33345

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 12 commits into from
Apr 12, 2020
Prev Previous commit
Next Next commit
remove space
  • Loading branch information
BenjaminLiuPenrose committed Apr 10, 2020
commit f0727eba759c435b469ec366c4eeb6001bc68a99
2 changes: 1 addition & 1 deletion pandas/tests/io/json/test_json_table_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def test_build_series(self):
assert result == expected

def test_read_json_from_to_json_results(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

can you add both of the construction methods from the OP.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sorry, I am confused. Can you elaborate more?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

since the second construction will always work, is it necessary to add a test here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

how about now?

# GH 32383
# GH32383
df = pd.DataFrame(
{
"_id": {0: 0},
Expand Down