udim commented on pull request #12798:
URL: https://github.com/apache/beam/pull/12798#issuecomment-689810083
Fails on py27-cloud:
```
self = <apache_beam.typehints.trivial_inference_test.TrivialInferenceTest
testMethod=testBuildMap>
def testBuildMap(self):
self.assertReturnType(
typehints.Dict[typehints.Any, typehints.Any],
lambda k,
v: {}, [int, float])
self.assertReturnType(
> typehints.Dict[int, float], lambda k, v: {k: v}, [int, float])
apache_beam/typehints/trivial_inference_test.py:113:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _
apache_beam/typehints/trivial_inference_test.py:40: in assertReturnType
trivial_inference.infer_return_type(f, inputs, debug=True, depth=depth))
E AssertionError: Dict[int, float] != Dict[Any, Any]
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]