Skip to content

Commit fc9bab9

Browse files
author
David Fritzsche
committed
Reformat with black
1 parent 5ab5fe8 commit fc9bab9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/test_parser.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,18 @@ def test_mypy_bar():
9595

9696
def test_parse_async(tmp_path):
9797
path = tmp_path / "test_async.mypy-testing"
98-
path.write_text(dedent(
99-
r"""
98+
path.write_text(
99+
dedent(
100+
r"""
100101
import pytest
101102
102103
@pytest.mark.mypy_testing
103104
async def mypy_test_invalid_assginment():
104105
foo = "abc"
105106
foo = 123 # E: Incompatible types in assignment (expression has type "int", variable has type "str")
106107
"""
107-
))
108+
)
109+
)
108110
config = Mock(spec=Config)
109111
result = parse_file(str(path), config)
110112
assert len(result.items) == 1

0 commit comments

Comments
 (0)