TheNeuralBit commented on a change in pull request #16781:
URL: https://github.com/apache/beam/pull/16781#discussion_r803116644



##########
File path: sdks/python/apache_beam/examples/dataframe/flight_delays_it_test.py
##########
@@ -125,7 +125,8 @@ def read_csv(path):
       expected_df = expected_df.sort_values('airline').reset_index(drop=True)
 
       try:
-        pd.testing.assert_frame_equal(result_df, expected_df)
+        pd.testing.assert_frame_equal(
+            result_df, expected_df, check_dtype=False, atol=0.5)

Review comment:
       For one I don't think check_dtype=False is necessary, secondly atol=0.5 
is _very_ large. The default is 1e-8.
   
   This is masking a difference of ~0.3 for expected result 23.823529 (~1%). 
Which I don't think we should just gloss over.
   
   It would be preferable to skip this test and file a jira blocking 2.37.0




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to