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/01/29 16:01:00 UTC

[jira] [Created] (BEAM-6535) TrivialInferenceTest.testTupleListComprehension fails on Python 3

Robbe created BEAM-6535:
---------------------------

             Summary: TrivialInferenceTest.testTupleListComprehension fails on Python 3
                 Key: BEAM-6535
                 URL: https://issues.apache.org/jira/browse/BEAM-6535
             Project: Beam
          Issue Type: Sub-task
          Components: sdk-py-core
            Reporter: Robbe
            Assignee: Ahmet Altay


This is the last remaining typehints test still failing on Python 3. It fails with:
{code:java}
======================================================================
FAIL: testTupleListComprehension (apache_beam.typehints.trivial_inference_test.TrivialInferenceTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/robbe/workspace/beam/sdks/python/apache_beam/typehints/trivial_inference_test.py", line 127, in testTupleListComprehension
[typehints.Tuple[str, typehints.Iterable[int]]])
File "/home/robbe/workspace/beam/sdks/python/apache_beam/typehints/trivial_inference_test.py", line 35, in assertReturnType
self.assertEquals(expected, trivial_inference.infer_return_type(f, inputs))
AssertionError: List[Tuple[str, int]] != Any

----------------------------------------------------------------------
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)