Skip to content

Commit 259c822

Browse files
authored
Unskip some tests that appear to pass (#15567)
These mostly date back to #4369 There are also some skipped tests in here that fail that I don't touch
1 parent 96eadfd commit 259c822

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

mypy/test/testsubtypes.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from mypy.nodes import CONTRAVARIANT, COVARIANT, INVARIANT
44
from mypy.subtypes import is_subtype
5-
from mypy.test.helpers import Suite, skip
5+
from mypy.test.helpers import Suite
66
from mypy.test.typefixture import InterfaceTypeFixture, TypeFixture
77
from mypy.types import Instance, TupleType, Type, UnpackType
88

@@ -69,7 +69,6 @@ def test_interface_subtyping(self) -> None:
6969
self.assert_equivalent(self.fx.f, self.fx.f)
7070
self.assert_not_subtype(self.fx.a, self.fx.f)
7171

72-
@skip
7372
def test_generic_interface_subtyping(self) -> None:
7473
# TODO make this work
7574
fx2 = InterfaceTypeFixture()

mypy/test/testtypes.py

-3
Original file line numberDiff line numberDiff line change
@@ -899,13 +899,11 @@ def ov(*items: CallableType) -> Overloaded:
899899
self.assert_join(ov(c(fx.a, fx.a), c(fx.b, fx.b)), c(any, fx.b), c(any, fx.b))
900900
self.assert_join(ov(c(fx.a, fx.a), c(any, fx.b)), c(fx.b, fx.b), c(any, fx.b))
901901

902-
@skip
903902
def test_join_interface_types(self) -> None:
904903
self.assert_join(self.fx.f, self.fx.f, self.fx.f)
905904
self.assert_join(self.fx.f, self.fx.f2, self.fx.o)
906905
self.assert_join(self.fx.f, self.fx.f3, self.fx.f)
907906

908-
@skip
909907
def test_join_interface_and_class_types(self) -> None:
910908
self.assert_join(self.fx.o, self.fx.f, self.fx.o)
911909
self.assert_join(self.fx.a, self.fx.f, self.fx.o)
@@ -1180,7 +1178,6 @@ def test_meet_class_types_with_shared_interfaces(self) -> None:
11801178
self.assert_meet(self.fx.e, self.fx.e2, self.fx.nonet)
11811179
self.assert_meet(self.fx.e2, self.fx.e3, self.fx.nonet)
11821180

1183-
@skip
11841181
def test_meet_with_generic_interfaces(self) -> None:
11851182
fx = InterfaceTypeFixture()
11861183
self.assert_meet(fx.gfa, fx.m1, fx.m1)

0 commit comments

Comments
 (0)