[ 
https://issues.apache.org/jira/browse/BEAM-6535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16760619#comment-16760619
 ] 

Valentyn Tymofieiev commented on BEAM-6535:
-------------------------------------------

See also Robert's comment in 
https://issues.apache.org/jira/browse/BEAM-5322?focusedCommentId=16663407&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16663407
 long term we may want to deprecate Beam typehints module.

> 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