HF RL Explorer

You are working on the pytest-dev/pyfakefs repository. The source code is checked out at /testbed at commit…

You are working on the pytest-dev/pyfakefs repository. The source code is checked out at /testbed at commit…: a task in SWE-Lego-RL-2699 (Harbor dataset). How To Reproduce python def read nonexistent xattr(s: Path): s.write text("file content") Non-existent attribute: with pytest.raises(OSError)…

The task

**How To Reproduce** ```python def read_nonexistent_xattr(s: Path): s.write_text("file content") # Non-existent attribute: with pytest.raises(OSError) as exc: os.getxattr(s, "user.nonesuch_attribute") assert exc.value.errno == errno.ENODATA # Invalid attribute: with pytest.raises(OSError) as exc: os.getxattr(s,…

Part of Lego-X/Lego-RL-2699.