diff --git a/tests/test_bounding_box.py b/tests/test_bounding_box.py index f04c6da2..e62a1ca0 100644 --- a/tests/test_bounding_box.py +++ b/tests/test_bounding_box.py @@ -8,7 +8,6 @@ from redbaron import RedBaron -@pytest.fixture def red(): return RedBaron("""\ @deco @@ -17,6 +16,11 @@ def a(c, d): """) +@pytest.fixture(name="red") +def red_fixture(): + return red() + + fst = red() bounding_boxes = [ (((1, 1), (4, 0)), ((1, 1), (4, 0)), fst),