Un-skip passing typing test

I missed that the typing test I disabled was on a base test class.
Moving the expected failure to the subclass allows the passing test to
pass.
This commit is contained in:
Daniel Chiquito committed 2024-02-24 13:33:17 -05:00
1 parent 6cd9e54427
commit 407f251866
1 file changed
+5 -2
+5 -2
View File
@@ -513,8 +513,6 @@ class BaseCallableTests:
with self.assertRaises(TypeError):
self.assertNotIsInstance(None, Callable[[], Any])
# TODO: RUSTPYTHON update typing to 3.12
@unittest.expectedFailure
def test_repr(self):
Callable = self.Callable
fullname = f'{Callable.__module__}.Callable'
@@ -707,6 +705,11 @@ class CollectionsCallableTests(BaseCallableTests, BaseTestCase):
def test_concatenate(self): # TODO: RUSTPYTHON, remove when this passes
super().test_concatenate() # TODO: RUSTPYTHON, remove when this passes
# TODO: RUSTPYTHON might be fixed by updating typing to 3.12
@unittest.expectedFailure
def test_repr(self): # TODO: RUSTPYTHON, remove when this passes
super().test_repr() # TODO: RUSTPYTHON, remove when this passes
class LiteralTests(BaseTestCase):
def test_basics(self):