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

Valentyn Tymofieiev edited comment on BEAM-1525 at 4/30/19 1:01 AM:
--------------------------------------------------------------------

Changing py_modules stanza makes test_config a top-level module. If we run
{noformat}
cat apache_beam.egg-info/top_level.txt{noformat}
we will see:
{noformat}
apache_beam
test_config{noformat}
I am not sure if addition of test_config is harmless or may introduce some 
side-effects in the distribution of Beam. Given that [~udim] is exploring 
adding PyTest, which will deprecate Nose, we  probably don't need to 
investigate this bug further as workarounds are available. 


was (Author: tvalentyn):
Changing py_modules stanza makes test_config a top-level module. If we run
{noformat}
cat apache_beam.egg-info/top_level.txt{noformat}
we will see:
{noformat}
apache_beam
test_config{noformat}
I am not sure if addition of test_config is harmless or may introduce some 
side-effects in the distribution of Beam. Given that [~udim] is exploring 
adding PyTest, which will deprecate, Nose, we  probably don't need to 
investigate this bug further as workarounds are available. 

> RuntimeWarning: Unable to load plugin beam_test_plugin when using nosetests
> ---------------------------------------------------------------------------
>
>                 Key: BEAM-1525
>                 URL: https://issues.apache.org/jira/browse/BEAM-1525
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: María GH
>            Assignee: Mark Liu
>            Priority: Minor
>              Labels: test
>             Fix For: Not applicable
>
>
> Tests pass, but when using nosetests, in this manner:
> nosetests --logging-level=INFO apache_beam/io/fileio_test.py:TestFileSink
> the RuntimeWarnings shows up. It doesn't when using tox
> $ nosetests --logging-level=INFO apache_beam/io/fileio_test.py:TestFileSink
> /Users/mariagh/Documents/venvs/no-dataflow/lib/python2.7/site-packages/nose/plugins/manager.py:395:
>  RuntimeWarning: Unable to load plugin beam_test_plugin = 
> test_config:BeamTestPlugin: No module named test_config



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to