Skip to content

Commit 6e5aaef

Browse files
committed
filter all code over pyupgrade --py38-plus
Signed-off-by: Tomasz Kłoczko <[email protected]>
1 parent 0070151 commit 6e5aaef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing/test_unittest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ def test_hello(self):
384384
@pytest.mark.parametrize("type", ["Error", "Failure"])
385385
def test_testcase_custom_exception_info(pytester: Pytester, type: str) -> None:
386386
pytester.makepyfile(
387-
"""
387+
f"""
388388
from typing import Generic, TypeVar
389389
from unittest import TestCase
390390
import pytest, _pytest._code
@@ -413,7 +413,7 @@ def from_exc_info(cls, *args, **kwargs):
413413
414414
def test_hello(self):
415415
pass
416-
""".format(**locals())
416+
"""
417417
)
418418
result = pytester.runpytest()
419419
result.stdout.fnmatch_lines(

0 commit comments

Comments
 (0)