[
https://issues.apache.org/jira/browse/BEAM-12236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17379289#comment-17379289
]
Beam JIRA Bot commented on BEAM-12236:
--------------------------------------
This issue was marked "stale-P2" and has not received a public comment in 14
days. It is now automatically moved to P3. If you are still affected by it, you
can comment and move it back to P2.
> "An Example Test for a Composite Transform" in Python is broken
> ---------------------------------------------------------------
>
> Key: BEAM-12236
> URL: https://issues.apache.org/jira/browse/BEAM-12236
> Project: Beam
> Issue Type: Bug
> Components: website
> Affects Versions: 2.28.0
> Reporter: Stephan Hoyer
> Priority: P3
>
> 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
--
This message was sent by Atlassian Jira
(v8.3.4#803005)