Skip tests in part
This commits make some tests skip with `unittest.skip`:
- `test.test_typing.BaseCallableTests.test_pickle()`
- `test.test_typing.BaseCallableTests.test_paramspec()`
Because `CollectionsCallableTests` and `TypingCallableTests` inherit
tests in `BaseCallableTests` but the tests are failed only in
`CollectionsCallableTests`.
I tried to use `unittest.expectedFailure` but I couldn't find the way to
apply it conditionally.
@@ -533,7 +533,7 @@ class BaseCallableTests:
self.assertEqual(weakref.ref(alias)(), alias)
# TODO: RUSTPYTHON
- @unittest.expectedFailure
+ @unittest.skip("Failed at CollectionsCallableTests")
def test_pickle(self):
Callable = self.Callable
alias = Callable[[int, str], float]
@@ -575,6 +575,8 @@ class BaseCallableTests:
self.assertIs(a().__class__, C1)
self.assertEqual(a().__orig_class__, C1[[int], T])
+ # TODO: RUSTPYTHON
+ @unittest.skip("Failed at CollectionsCallableTests")
def test_paramspec(self):
Callable = self.Callable
fullname = f"{Callable.__module__}.Callable"
