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:04:00 UTC

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

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

Robbe commented on BEAM-6535:
-----------------------------

[~robertwb], [~luke-zhu], [~silviuc@google.com]
It seems like you've written a large part of the relevant code, or are mentioned in TODO's related to the problem. Could anyone of you help with this?

CC: [~tvalentyn]

> 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
>            Priority: Major
>
> 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)