You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Robbe (JIRA)" <ji...@apache.org> on 2019/04/03 10:24:01 UTC

[jira] [Updated] (BEAM-6986) Multiple tests fail with a generator StopIteration error on Python 3.7

     [ https://issues.apache.org/jira/browse/BEAM-6986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbe updated BEAM-6986:
------------------------
    Summary: Multiple tests fail with a generator StopIteration error on Python 3.7  (was: test_functions_as_regular_generator (apache_beam.typehints.typehints_test.TestGeneratorWrapper) Fails on Python 3.7+)

> Multiple tests fail with a generator StopIteration error 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
>            Priority: Major
>
> ======================================================================
> 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)