◐ Shell
clean mode source ↗

updated _collections_abc.py and test_collections.py to CPython 3.11.2 by bobby-palmer · Pull Request #5016 · RustPython/RustPython

thanks @bobby-palmer, this might be a tricky one 😄 there's two test cases now failing in Lib/test/test_typing.py:

test_errors (test.test_typing.CollectionsCallableTests.test_errors)
test_valid_uses (test.test_typing.ParamSpecTests.test_valid_uses)

You can open that file and decorate them with unittest.expectedFailure to mark them as so. For test_errors you can add this function to CollectionsCallableTests:

    # TODO: RUSTPYTHON
    @unittest.expectedFailure
    def test_errors(self): # TODO: RUSTPYTHON, remove when this passes
        super().test_errors() # TODO: RUSTPYTHON, remove when this passes

while for test_valid_uses just mark the function directly since it isn't brought in via inheritance:

    # TODO: RUSTPYTHON
    @unittest.expectedFailure
    def test_valid_uses(self):
        ....  # function body unchanged