Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 730406281
  • Loading branch information
Martin Huschenbett authored and copybara-github committed Feb 24, 2025
1 parent dc4ca89 commit 385512a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytype/tests/test_abc1.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Example(metaclass=abc.ABCMeta):
def foo(self) -> None: ...
""",
)
_, errors = self.InferWithErrors(
errors = self.CheckWithErrors(
"""
import foo
foo.Example() # not-instantiable[e]
Expand Down Expand Up @@ -73,7 +73,7 @@ def foo(self): ...
class Foo(X, Interface): ...
""",
)
_, errors = self.InferWithErrors(
errors = self.CheckWithErrors(
"""
import foo
foo.Foo().foo() # not-instantiable[e]
Expand Down

0 comments on commit 385512a

Please sign in to comment.