◐ Shell
clean mode source ↗

Add test_eof.py from Cpython v3.11.2 by jiwahn · Pull Request #4753 · RustPython/RustPython

Comment on lines +9 to +10

# TODO: RUSTPYTHON
@unittest.expectedFailure

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@youknowone I don't think that decorator can be applied on a class, but I could be wrong.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works as we expect. Removing it results all test fail.
On the other hand, applying them on function looks more useful to support issue hunters though.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either way, these lines should have been broken out into a separate commit.