Don't skip test in test_tempfile.py#8067
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
📦 Library DependenciesThe following Lib/ modules were modified. Here are their dependencies: [x] lib: cpython/Lib/tempfile.py dependencies:
dependent tests: (90 tests)
Legend:
|
| d2.cleanup() | ||
|
|
||
| @unittest.skip("TODO: RUSTPYTHON; No such file or directory \"...\"") | ||
| @unittest.expectedFailure # TODO: RUSTPYTHON; FileNotFoundError: [Errno 2] No such file or directory: '<LONG_PATH>' |
There was a problem hiding this comment.
Does this work?
| @unittest.expectedFailure # TODO: RUSTPYTHON; FileNotFoundError: [Errno 2] No such file or directory: '<LONG_PATH>' | |
| @unittest.expectedFailureIf(sys.platform == 'linux', "TODO: RUSTPYTHON; FileNotFoundError: [Errno 2] No such file or directory: '<LONG_PATH>'") |
Then you can add this test to the list of environment polluters on Windows.
|
Has to do with #7611. |
Co-authored-by: fanninpm <27117322+fanninpm@users.noreply.github.com>
Summary