Skip to content

Commit 4f071b1

Browse files
committed
format
1 parent 69f3e20 commit 4f071b1

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

python/lib/sift_client/_tests/util/test_step_status_states.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -286,9 +286,7 @@ def test_x():
286286
assert outer is not None
287287
assert outer.statuses[-1] == TestStatus.SKIPPED
288288
duplicates = [s for s in capture.steps_by_name("test_x") if s is not outer]
289-
assert not duplicates, (
290-
f"expected no duplicate nested step; got {len(duplicates)}"
291-
)
289+
assert not duplicates, f"expected no duplicate nested step; got {len(duplicates)}"
292290

293291

294292
def test_pytest_mark_skip_records_skipped(inner):
@@ -344,9 +342,7 @@ def test_x(skipping_fixture):
344342
assert outer is not None
345343
assert outer.statuses[-1] == TestStatus.SKIPPED
346344
duplicates = [s for s in capture.steps_by_name("test_x") if s is not outer]
347-
assert not duplicates, (
348-
f"expected no duplicate nested step; got {len(duplicates)}"
349-
)
345+
assert not duplicates, f"expected no duplicate nested step; got {len(duplicates)}"
350346

351347

352348
# ---------------------------------------------------------------------------
@@ -371,9 +367,7 @@ def test_x():
371367
assert outer is not None
372368
assert outer.statuses[-1] == TestStatus.PASSED
373369
duplicates = [s for s in capture.steps_by_name("test_x") if s is not outer]
374-
assert not duplicates, (
375-
f"expected no duplicate nested step; got {len(duplicates)}"
376-
)
370+
assert not duplicates, f"expected no duplicate nested step; got {len(duplicates)}"
377371

378372

379373
def test_xfail_strict_unexpected_pass(inner):

0 commit comments

Comments
 (0)