Skip to content

pytest failed on ubuntu 18.04 #76

@PaulGoslawski

Description

@PaulGoslawski
jvl@mlsr03:~/analysis/FelixAndreas/apace on master
$pytest 
===================================== test session starts =====================================
platform linux -- Python 3.7.0, pytest-5.4.1, py-1.6.0, pluggy-0.13.1
rootdir: /home/jvl/analysis/FelixAndreas/apace, inifile: setup.cfg, testpaths: tests
plugins: openfiles-0.3.0, remotedata-0.3.0, arraydiff-0.2, doctestplus-0.1.3
collected 23 items                                                                            

tests/test_classes.py EEEEE                                                             [ 21%]
tests/test_cli.py E                                                                     [ 26%]
tests/test_io.py EE                                                                     [ 34%]
tests/test_matrix_method.py E                                                           [ 39%]
tests/test_plot.py EE                                                                   [ 47%]
tests/test_tracking.py EE                                                               [ 56%]
tests/test_tracking_integration.py E                                                    [ 60%]
tests/test_twiss.py EEEEEEEEE                                                           [100%]

=========================================== ERRORS ============================================
____________________________ ERROR at setup of test_length_changed ____________________________

item = <Function test_length_changed>

    def pytest_runtest_setup(item):
    
>       remote_data = item.get_marker('remote_data')
E       AttributeError: 'Function' object has no attribute 'get_marker'

../../../anaconda3/lib/python3.7/site-packages/pytest_remotedata/plugin.py:64: AttributeError
_____________________________ ERROR at setup of test_unique_names _____________________________

...

=============================== 4 warnings, 23 errors in 0.30s ================================

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions