Skip to content

Commit

Permalink
test for nested class regression
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorpela committed Jan 24, 2024
1 parent c6cd20d commit 5ba2da3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/test_overrides.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ def some_method(self):
"""Subber"""
return 1

class Nest:
class First:
class Second:
def foo(self):
pass


class Sub2(test_somepackage.SomeClass, SuperClass):
@override
Expand Down Expand Up @@ -90,6 +96,11 @@ class SomeClass:
def check(self):
return 1

class ChildOfNested(Nest.First.Second):
@override
def foo(self):
pass


class OverridesTests(unittest.TestCase):
def test_overrides_passes_for_same_package_superclass(self):
Expand Down

0 comments on commit 5ba2da3

Please sign in to comment.