[ 
https://issues.apache.org/jira/browse/BEAM-12236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17370298#comment-17370298
 ] 

Stephan Hoyer commented on BEAM-12236:
--------------------------------------

Not stale

On Sun, Jun 27, 2021 at 10:21 AM Beam JIRA Bot (Jira) <[email protected]>



> "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)

Reply via email to