You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by ro...@apache.org on 2016/07/23 23:47:11 UTC
[05/12] incubator-beam git commit: fixup: failing tests expecting name
fixup: failing tests expecting name
Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/c5b5b14d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/c5b5b14d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/c5b5b14d
Branch: refs/heads/python-sdk
Commit: c5b5b14d35fc7f6b0a576f0fca19b730015e1282
Parents: b15d35c
Author: Robert Bradshaw <ro...@google.com>
Authored: Sat Jul 23 01:07:44 2016 -0700
Committer: Robert Bradshaw <ro...@gmail.com>
Committed: Sat Jul 23 16:43:46 2016 -0700
----------------------------------------------------------------------
sdks/python/apache_beam/transforms/ptransform_test.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/c5b5b14d/sdks/python/apache_beam/transforms/ptransform_test.py
----------------------------------------------------------------------
diff --git a/sdks/python/apache_beam/transforms/ptransform_test.py b/sdks/python/apache_beam/transforms/ptransform_test.py
index 992f944..b99cd26 100644
--- a/sdks/python/apache_beam/transforms/ptransform_test.py
+++ b/sdks/python/apache_beam/transforms/ptransform_test.py
@@ -931,7 +931,7 @@ class PTransformTypeCheckTestCase(TypeHintTestCase):
with self.assertRaises(typehints.TypeCheckError) as e:
(self.p
| beam.Create([1, 2, 3]).with_output_types(int)
- | beam.GroupByKeyOnly())
+ | 'F' >> beam.GroupByKeyOnly())
self.assertEqual("Input type hint violation at F: "
"expected Tuple[TypeVariable[K], TypeVariable[V]], "
@@ -945,7 +945,7 @@ class PTransformTypeCheckTestCase(TypeHintTestCase):
(self.p
| (beam.Create(range(5))
.with_output_types(typehints.Iterable[int]))
- | beam.GroupByKey())
+ | 'T' >> beam.GroupByKey())
self.assertEqual("Input type hint violation at T: "
"expected Tuple[TypeVariable[K], TypeVariable[V]], "
@@ -1563,7 +1563,7 @@ class PTransformTypeCheckTestCase(TypeHintTestCase):
with self.assertRaises(typehints.TypeCheckError) as e:
(self.p
- | beam.Create([1, 1, 2, 3])
+ | 'f' >> beam.Create([1, 1, 2, 3])
| 'count elems' >> combine.Count.PerElement())
self.assertEqual('Pipeline type checking is enabled, however no output '