PyCQA / redbaron

Bottom-up approach to refactoring in python
http://redbaron.pycqa.org/
694 stars 74 forks source link

py.test tests failing #214

Open yilabs opened 2 years ago

yilabs commented 2 years ago
$ git clone ...

$ py.test tests
================================================================================ test session starts =================================================================================
platform linux -- Python 3.9.5, pytest-7.1.2, pluggy-0.13.0
rootdir: /mnt/C/project/contrib/redbaron
collected 1431 items / 1 error                                                                                                                                                       

======================================================================================= 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/stable/explanation/fixtures.html for more information about fixtures, and
https://docs.pytest.org/en/stable/deprecations.html#calling-fixtures-directly about how to update your code.
============================================================================== short test summary info ===============================================================================
ERROR tests/test_bounding_box.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================================================================== 1 error in 0.40s ==================================================================================