[
https://issues.apache.org/jira/browse/BEAM-12236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17370289#comment-17370289
]
Beam JIRA Bot commented on BEAM-12236:
--------------------------------------
This issue is P2 but has been unassigned without any comment for 60 days so it
has been labeled "stale-P2". If this issue is still affecting you, we care!
Please comment and remove the label. Otherwise, in 14 days the issue will be
moved to P3.
Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed
explanation of what these priorities mean.
> "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: P2
> Labels: stale-P2
>
> 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)