Skip to content

Commit ccafd5a

Browse files
committed
Revert "test 2"
This reverts commit 8a33838.
1 parent 8a33838 commit ccafd5a

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

tests/test_enforce__py38.py

+1-13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import unittest
2-
from typing import Optional, TypeVar, Union, Literal
2+
from typing import Optional, TypeVar, Union
33

44
from overrides import EnforceOverrides, final, override
55
from overrides.signature import ensure_signature_is_compatible
@@ -35,18 +35,6 @@ def nonfinal_classmethod(cls):
3535
return "super_classmethod"
3636

3737

38-
Lit = Literal["foo", "bar"]
39-
40-
class MyBaseClass(EnforceOverrides):
41-
def my_method(self, lit : Lit) -> None:
42-
return
43-
44-
class MySubClass(MyBaseClass):
45-
@override
46-
def my_method(self, lit : Lit) -> None:
47-
return
48-
49-
5038
class EnforceTests(unittest.TestCase):
5139
def test_enforcing_when_all_ok(self):
5240
class Subclazz(Enforcing):

0 commit comments

Comments
 (0)