Abacn commented on PR #23984:
URL: https://github.com/apache/beam/pull/23984#issuecomment-1303976448
Thanks for the fix. There is a test failure about assertion to error message:
```
self = <apache_beam.typehints.typehints_test.KVHintTestCase
testMethod=test_getitem_param_must_be_tuple>
def test_getitem_param_must_be_tuple(self):
with self.assertRaises(TypeError) as e:
typehints.KV[4]
> self.assertEqual(
'Parameter to KV type-hint must be a tuple of types: '
'KV[.., ..].',
e.exception.args[0])
E AssertionError: 'Parameter to KV type-hint must be a tuple of types:
KV[.., ..].' != 'Parameter to KV typehint must be a tuple of types: KV[.., ..].'
E - Parameter to KV type-hint must be a tuple of types: KV[.., ..].
E ? -
E + Parameter to KV typehint must be a tuple of types: KV[.., ..].
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]