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

Valentyn Tymofieiev updated BEAM-6535:
--------------------------------------
    Summary: TypeHints Py3 Error: 
TrivialInferenceTest.testTupleListComprehension fails on Python 3  (was: 
TrivialInferenceTest.testTupleListComprehension fails on Python 3)

> TypeHints Py3 Error: 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
>            Priority: Minor
>
> 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)

Reply via email to