File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ def pytest_configure(config: Config) -> None:
17
17
"""
18
18
19
19
provided_by_pytest_order = (
20
- "Provided by pytest-order. " " See also: https://pytest-order.readthedocs.io/"
20
+ "Provided by pytest-order. See also: https://pytest-order.readthedocs.io/"
21
21
)
22
22
23
23
config_line = (
@@ -88,17 +88,15 @@ def pytest_addoption(parser: Parser) -> None:
88
88
action = "store_true" ,
89
89
dest = "sparse_ordering" ,
90
90
help = (
91
- "If there are gaps between ordinals, they are filled "
92
- "with unordered tests."
91
+ "If there are gaps between ordinals, they are filled with unordered tests."
93
92
),
94
93
)
95
94
group .addoption (
96
95
"--order-dependencies" ,
97
96
action = "store_true" ,
98
97
dest = "order_dependencies" ,
99
98
help = (
100
- "If set, dependencies added by pytest-dependency will be ordered "
101
- "if needed."
99
+ "If set, dependencies added by pytest-dependency will be ordered if needed."
102
100
),
103
101
)
104
102
group .addoption (
Original file line number Diff line number Diff line change @@ -414,7 +414,7 @@ def test_3():
414
414
assert item_names_for (test_content ) == ["test_1" , "test_2" , "test_3" ]
415
415
out , err = capsys .readouterr ()
416
416
warning = (
417
- "cannot execute 'test_2' relative to others: 'test_4' " " - ignoring the marker"
417
+ "cannot execute 'test_2' relative to others: 'test_4' - ignoring the marker"
418
418
)
419
419
assert warning in out
420
420
@@ -471,7 +471,7 @@ def test_3(self):
471
471
]
472
472
out , err = capsys .readouterr ()
473
473
warning = (
474
- "cannot execute 'test_2' relative to others: 'test_4' " " - ignoring the marker"
474
+ "cannot execute 'test_2' relative to others: 'test_4' - ignoring the marker"
475
475
)
476
476
assert warning in out
477
477
@@ -494,9 +494,7 @@ def test_3():
494
494
"""
495
495
assert item_names_for (test_content ) == ["test_2" , "test_1" , "test_3" ]
496
496
out , err = capsys .readouterr ()
497
- warning = (
498
- "cannot execute test relative to others: " "test_dependency_loop.py::test_3"
499
- )
497
+ warning = "cannot execute test relative to others: test_dependency_loop.py::test_3"
500
498
assert warning in out
501
499
502
500
You can’t perform that action at this time.
0 commit comments