Skip to content

Commit

Permalink
Minor: Clean up an assertion in schemas_test (#22613)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNeuralBit authored Aug 8, 2022
1 parent c9c161d commit cc0b446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdks/python/apache_beam/dataframe/schemas_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def test_generate_proxy(self):
'max_speed': pd.Series(dtype=np.float64)
})

self.assertTrue(schemas.generate_proxy(Animal).equals(expected))
pd.testing.assert_frame_equal(schemas.generate_proxy(Animal), expected)

def test_nice_types_proxy_roundtrip(self):
roundtripped = schemas.generate_proxy(
Expand Down

0 comments on commit cc0b446

Please sign in to comment.