Package: python-redbaron / 0.9.2-4.1

Metadata

Package Version Patches format
python-redbaron 0.9.2-4.1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
020190218~812081b.patch | (download)

tests/test_bounding_box.py | 6 5 + 1 - 0 !
1 file changed, 5 insertions(+), 1 deletion(-)

 fix tests under pytest 4
 Pytest 4 removed support for calling fixtures directly:
 <https://docs.pytest.org/en/latest/deprecations.html#calling-fixtures-directly>
 .
 This leads to an error when trying to run the tests:
 ```
 ==================================== ERRORS ====================================
 _________________ ERROR collecting tests/test_bounding_box.py __________________
 Fixture "red" called directly. Fixtures are not meant to be called directly,
 but are created automatically when test functions request them as parameters.
 See https://docs.pytest.org/en/latest/fixture.html for more information about fixtures, and
 https://docs.pytest.org/en/latest/deprecations.html#calling-fixtures-directly about how to update your code.
 ```
1001_syntax.patch | (download)

redbaron/base_nodes.py | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix string comparison syntax