Skip to content

Commit 14c281a

Browse files
committed
Remove unnecessary kwargs from the tests
1 parent e84607e commit 14c281a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_pytest_mypy.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ def test_py_typed(testdir):
552552

553553
def test_mypy_no_status_check(testdir, xdist_args):
554554
"""Verify that --mypy-no-status-check disables MypyStatusItem collection."""
555-
testdir.makepyfile(thon="one: int = 1")
555+
testdir.makepyfile("one: int = 1")
556556
result = testdir.runpytest_subprocess("--mypy", *xdist_args)
557557
mypy_file_checks = 1
558558
mypy_status_check = 1
@@ -565,7 +565,7 @@ def test_mypy_no_status_check(testdir, xdist_args):
565565

566566
def test_mypy_xfail_passes(testdir, xdist_args):
567567
"""Verify that --mypy-xfail passes passes."""
568-
testdir.makepyfile(thon="one: int = 1")
568+
testdir.makepyfile("one: int = 1")
569569
result = testdir.runpytest_subprocess("--mypy", *xdist_args)
570570
mypy_file_checks = 1
571571
mypy_status_check = 1
@@ -578,7 +578,7 @@ def test_mypy_xfail_passes(testdir, xdist_args):
578578

579579
def test_mypy_xfail_xfails(testdir, xdist_args):
580580
"""Verify that --mypy-xfail xfails failures."""
581-
testdir.makepyfile(thon="one: str = 1")
581+
testdir.makepyfile("one: str = 1")
582582
result = testdir.runpytest_subprocess("--mypy", *xdist_args)
583583
mypy_file_checks = 1
584584
mypy_status_check = 1

0 commit comments

Comments
 (0)