mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Fix inspect.signature introspection for attrgetter/itemgetter/methodcaller (#7111)
* Fix attrgetter signature introspection in operator * Fix itemgetter signature introspection in operator * Fix methodcaller signature introspection in operator
This commit is contained in:
1 parent
8ea96fb540
commit
ecc59cfdcd
2 files changed
+21
-15
No files matched your search
Vendored
-12
@@ -668,18 +668,6 @@ class PyOperatorTestCase(OperatorTestCase, unittest.TestCase):
|
||||
class COperatorTestCase(OperatorTestCase, unittest.TestCase):
|
||||
module = c_operator
|
||||
|
||||
@unittest.expectedFailure # TODO: RUSTPYTHON
|
||||
def test_attrgetter_signature(self):
|
||||
return super().test_attrgetter_signature()
|
||||
|
||||
@unittest.expectedFailure # TODO: RUSTPYTHON
|
||||
def test_itemgetter_signature(self):
|
||||
return super().test_itemgetter_signature()
|
||||
|
||||
@unittest.expectedFailure # TODO: RUSTPYTHON
|
||||
def test_methodcaller_signature(self):
|
||||
return super().test_methodcaller_signature()
|
||||
|
||||
|
||||
@support.thread_unsafe("swaps global operator module")
|
||||
class OperatorPickleTestCase:
|
||||
|
||||
Reference in new issue
Block a user