You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by GitBox <gi...@apache.org> on 2020/03/16 22:33:27 UTC

[GitHub] [beam] KevinGG commented on a change in pull request #11141: [BEAM-7923] Include side effects in p.run

KevinGG commented on a change in pull request #11141: [BEAM-7923] Include side effects in p.run
URL: https://github.com/apache/beam/pull/11141#discussion_r393347005
 
 

 ##########
 File path: sdks/python/apache_beam/runners/interactive/utils_test.py
 ##########
 @@ -56,7 +56,7 @@ def test_parse_windowedvalue_with_window_info(self):
         [['a', 2, int(1e6), els[0].windows, els[0].pane_info],
          ['b', 3, int(1e6), els[1].windows, els[1].pane_info]],
         columns=[0, 1, 'event_time', 'windows', 'pane_info'])
-    pd.testing.assert_frame_equal(actual_df, expected_df)
+    pd.testing.assert_frame_equal(actual_df, expected_df, check_like=True)
 
 Review comment:
   This test was flaky because the dataframe columns can be built in arbitrary orders. This option makes sure it doesn't take column positioning into consideration since we only care about the equivalence of data.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services