Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stop using constructors deprecated in pytest 5.4 #391

Merged
merged 2 commits into from
Mar 18, 2020

Commits on Mar 14, 2020

  1. stop using constructors deprecated in pytest5

    ```
    =============================== warnings summary ===============================
    /opt/ros/master/install/lib/python3.8/site-packages/launch_testing/pytest/hooks.py:113
    /opt/ros/master/install/lib/python3.8/site-packages/launch_testing/pytest/hooks.py:113
      /opt/ros/master/install/lib/python3.8/site-packages/launch_testing/pytest/hooks.py:113: PytestDeprecationWarning: direct construction of Package has been deprecated, please use Package.from_parent
        return pytest.Package(path, parent)
    
    /opt/ros/master/install/lib/python3.8/site-packages/launch_testing/pytest/hooks.py:114: 37 tests with warnings
      /opt/ros/master/install/lib/python3.8/site-packages/launch_testing/pytest/hooks.py:114: PytestDeprecationWarning: direct construction of Module has been deprecated, please use Module.from_parent
        return pytest.Module(path, parent)
    
    -- Docs: https://docs.pytest.org/en/latest/warnings.html
    ================= 324 passed, 39 warnings in 66.09s (0:01:06) ==================
    ```
    
    Signed-off-by: Dan Rose <dan@digilabs.io>
    rotu committed Mar 14, 2020
    Configuration menu
    Copy the full SHA
    5cfa54c View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2020

  1. PR feedback

    Signed-off-by: Dan Rose <dan@digilabs.io>
    rotu committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    58b4ed0 View commit details
    Browse the repository at this point in the history