mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Fix failed merge of bpo-43288. (GH-24614)
This commit is contained in:
parent
50288aa8c9
commit
84f7afe65c
1 changed files with 3 additions and 2 deletions
|
|
@ -220,8 +220,6 @@ class LocalPackage:
|
||||||
self.fixtures.enter_context(tempdir_as_cwd())
|
self.fixtures.enter_context(tempdir_as_cwd())
|
||||||
build_files(self.files)
|
build_files(self.files)
|
||||||
|
|
||||||
def skip(self, reason):
|
|
||||||
raise unittest.SkipTest(reason)
|
|
||||||
|
|
||||||
|
|
||||||
def build_files(file_defs, prefix=pathlib.Path()):
|
def build_files(file_defs, prefix=pathlib.Path()):
|
||||||
|
|
@ -262,6 +260,9 @@ class FileBuilder:
|
||||||
def unicode_filename(self):
|
def unicode_filename(self):
|
||||||
return FS_NONASCII or self.skip("File system does not support non-ascii.")
|
return FS_NONASCII or self.skip("File system does not support non-ascii.")
|
||||||
|
|
||||||
|
def skip(self, reason):
|
||||||
|
raise unittest.SkipTest(reason)
|
||||||
|
|
||||||
|
|
||||||
def DALS(str):
|
def DALS(str):
|
||||||
"Dedent and left-strip"
|
"Dedent and left-strip"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue