[New-bugs-announce] [issue43288] test_importlib failure due to missing skip() method

Neil Schemenauer report at bugs.python.org
Sun Feb 21 14:04:37 EST 2021

New submission from Neil Schemenauer <nas-python at arctrix.com>:

The FileSystem class is missing a skip() method.  If the file system doesn't support Unicode filenames, the test crashes.

  File "/home/nas/src/cpython/Lib/test/test_importlib/fixtures.py", line 221, in unicode_filename
    self.skip("File system does not support non-ascii.")
AttributeError: 'FileSystem' object has no attribute 'skip'

I'm running tests inside a Debian 32-bit container and for some reason the test.support.FS_NONASCII variable is not set.

components: Tests
messages: 387471
nosy: nascheme
priority: normal
severity: normal
status: open
title: test_importlib failure due to missing skip() method
type: behavior

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list