Skip to content

Commit f9e9b93

Browse files
committed
Upgrade Python syntax with pyupgrade --py36-plus
1 parent 671a528 commit f9e9b93

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/pytest_forked/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def runforked():
7171
return [runner.TestReport(**x) for x in report_dumps]
7272
else:
7373
if result.exitstatus == EXITSTATUS_TESTEXIT:
74-
pytest.exit("forked test item %s raised Exit" % (item,))
74+
pytest.exit(f"forked test item {item} raised Exit")
7575
return [report_process_crash(item, result)]
7676

7777

testing/test_xfail_behavior.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
"""Tests for xfail support."""
32
import os
43
import signal

0 commit comments

Comments
 (0)