damccorm opened a new issue, #20876:
URL: https://github.com/apache/beam/issues/20876
The example test code does not runĀ [1]:
- Python reports a Syntax error "SyntaxError: unexpected EOF while parsing"
- Missing imports: "import unittest" and "import apache_beam as beam"
- After fixing the above issues, I get: "AttributeError: module
'apache_beam' has no attribute 'TestPipeline'". It looks like this import is
just wrong. I tracked it down via code search in
"apache_beam.testing.test_pipeline"
[1]
https://beam.apache.org/documentation/pipelines/test-your-pipeline/#an-example-test-for-a-composite-transform
Imported from Jira
[BEAM-12236](https://issues.apache.org/jira/browse/BEAM-12236). Original Jira
may contain additional context.
Reported by: shoyer.
--
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]