• Hynek Schlawack's avatar
    #14885: Make support.skip_unless_xattr check also tempfile · e02ba103
    Hynek Schlawack authored
    There is a rare edge case where the filesystem used by the tempfile functions
    (usually /tmp) doesn't support xattrs while the one used by TESTFN (the current
    directory, so likely to be below /home) does. This causes the xattr related
    test_shutil tests fail. skip_unless_xattr now checks both.
    
    I have also added skip_unless_xattr to __all__ where it has been missing.
    e02ba103
support.py 59.1 KB