Robbe created BEAM-6986:
---------------------------
Summary: test_functions_as_regular_generator
(apache_beam.typehints.typehints_test.TestGeneratorWrapper) Fails on Python 3.7+
Key: BEAM-6986
URL: https://issues.apache.org/jira/browse/BEAM-6986
Project: Beam
Issue Type: Sub-task
Components: sdk-py-core
Reporter: Robbe
======================================================================
ERROR: test_functions_as_regular_generator
(apache_beam.typehints.typehints_test.TestGeneratorWrapper)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/typehints/decorators.py",
line 612, in __iter__
x = next(self.internal_gen)
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File
"/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/typehints/typehints_test.py",
line 725, in test_functions_as_regular_generator
self.assertEqual((1, 2, 3), tuple(wrapped_gen))
RuntimeError: generator raised StopIteration
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)