Skip to content

Commit 617dd47

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent ca80d30 commit 617dd47

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

testing/acceptance_test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1311,7 +1311,7 @@ def test(i):
13111311
assert counts_by_worker["gw0"] + counts_by_worker["gw1"] == num_tests
13121312

13131313
def test_multi_scope_with_insufficient_fence(
1314-
self, pytester: pytest.Pytester
1314+
self, pytester: pytest.Pytester
13151315
) -> None:
13161316
"""
13171317
When there are not enough fence tests from subsequent scope(s),
@@ -1320,15 +1320,15 @@ def test_multi_scope_with_insufficient_fence(
13201320
tests per worker from the active scope, unless the scope has only one
13211321
test.
13221322
"""
1323-
test_file1 = f"""
1323+
test_file1 = """
13241324
import pytest
13251325
# 6 tests should distribute 2 per worker for 3 workers due to the
13261326
# min-2 scope tests per worker rule.
13271327
@pytest.mark.parametrize('i', range(6))
13281328
def test(i):
13291329
pass
13301330
"""
1331-
test_file2 = f"""
1331+
test_file2 = """
13321332
import pytest
13331333
class FenceA:
13341334
def test(self):
@@ -1351,7 +1351,7 @@ def test1(self):
13511351
# 6 tests should distribute 2 per worker for 3 workers due to the
13521352
# min-2 scope tests per worker rule.
13531353
assert sum(counts_by_worker_a.values()) == 6
1354-
for worker in ['gw0', 'gw1', 'gw2']:
1354+
for worker in ["gw0", "gw1", "gw2"]:
13551355
assert counts_by_worker_a[worker] == 2
13561356

13571357
counts_by_worker_fence_a = get_workers_and_test_count_by_prefix(

0 commit comments

Comments
 (0)