You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by pa...@apache.org on 2019/03/28 17:21:02 UTC

[beam] branch master updated: self.assertEquals is depecrated.

This is an automated email from the ASF dual-hosted git repository.

pabloem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 40f199c  self.assertEquals is depecrated.
     new 49ebfc2  Merge pull request #8137 from boyuanzz/fix_py
40f199c is described below

commit 40f199cfa4a42db62ef902aceda3f8c60b01aeae
Author: Boyuan Zhang <bo...@google.com>
AuthorDate: Mon Mar 25 17:34:48 2019 -0700

    self.assertEquals is depecrated.
---
 sdks/python/apache_beam/runners/portability/fn_api_runner_test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py b/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py
index f298215..5407deb 100644
--- a/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py
+++ b/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py
@@ -844,7 +844,7 @@ class FnApiRunnerTest(unittest.TestCase):
 
     results = event_recorder.events()
     event_recorder.cleanup()
-    self.assertEquals(results, sorted(elements_list))
+    self.assertEqual(results, sorted(elements_list))
 
 
 class FnApiRunnerTestWithGrpc(FnApiRunnerTest):