Details
-
Sub-task
-
Status: Resolved
-
P3
-
Resolution: Duplicate
-
None
-
None
Description
This is the last remaining typehints test still failing on Python 3. It fails with:
====================================================================== 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 ----------------------------------------------------------------------
Attachments
Issue Links
- duplicates
-
BEAM-6877 TypeHints Py3 Error: Type inference tests fail on Python 3.6 due to bytecode changes
-
- Resolved
-