Skip to content

Commit 43a70bb

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6c6fa8f commit 43a70bb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

mypy/test/testtypes.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1067,7 +1067,12 @@ def test_join_type_var_bounds(self) -> None:
10671067
"tvar2",
10681068
TypeVarId(-101),
10691069
[],
1070-
upper_bound=UnionType([TupleType([any_type], self.fx.std_tuple), TupleType([any_type, any_type], self.fx.std_tuple)]),
1070+
upper_bound=UnionType(
1071+
[
1072+
TupleType([any_type], self.fx.std_tuple),
1073+
TupleType([any_type, any_type], self.fx.std_tuple),
1074+
]
1075+
),
10711076
default=AnyType(TypeOfAny.from_omitted_generics),
10721077
variance=INVARIANT,
10731078
)

0 commit comments

Comments
 (0)