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

[GitHub] [beam] aaltay commented on a change in pull request #11329: [BEAM-9715] Ensuring annotations_test passes in all environments

aaltay commented on a change in pull request #11329: [BEAM-9715] Ensuring annotations_test passes in all environments
URL: https://github.com/apache/beam/pull/11329#discussion_r404930818
 
 

 ##########
 File path: sdks/python/apache_beam/utils/annotations_test.py
 ##########
 @@ -30,6 +30,7 @@ class AnnotationTests(unittest.TestCase):
   # Note: use different names for each of the the functions decorated
   # so that a warning is produced for each of them.
   def test_deprecated_with_since_current_message(self):
+    warnings.resetwarnings()
 
 Review comment:
   Move to setUp() ? (https://docs.python.org/3/library/unittest.html#unittest.TestCase.setUp)

----------------------------------------------------------------
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