Skip to content

Commit 6672066

Browse files
committed
Fix spacing
1 parent daa9ade commit 6672066

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test-data/unit/check-typevar-values.test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ T = TypeVar('T', int, str)
77
def f(x: T) -> None: pass
88
f(1)
99
f('x')
10-
f(object()) # E: Type argument 1 of "f" has incompatible value\
10+
f(object()) # E: Type argument 1 of "f" has incompatible value \
1111
# N: "T" must be all one type: int or str
1212

1313
[case testCallGenericFunctionWithTypeVarValueRestrictionUsingContext]
@@ -19,7 +19,7 @@ s = ['x']
1919
o = [object()]
2020
i = f(1)
2121
s = f('')
22-
o = f(1) # E: Type argument 1 of "f" has incompatible value\
22+
o = f(1) # E: Type argument 1 of "f" has incompatible value \
2323
# N: "T" must be all one type: int or str
2424
[builtins fixtures/list.pyi]
2525

@@ -241,7 +241,7 @@ class A(Generic[X]):
241241
A(1)
242242
A('x')
243243
A(cast(Any, object()))
244-
A(object()) # E: Type argument 1 of "A" has incompatible value\
244+
A(object()) # E: Type argument 1 of "A" has incompatible value \
245245
# N: "X" must be all one type: int or str
246246

247247
[case testGenericTypeWithTypevarValuesAndTypevarArgument]

0 commit comments

Comments
 (0)