diff options
author | Hood Chatham <roberthoodchatham@gmail.com> | 2024-12-17 07:48:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-17 07:48:23 (GMT) |
commit | 1183e4ce2f7c07aeeff7c757ec749ef5af9d4415 (patch) | |
tree | 23780af57549fd119475060bb2f800b021eea86e /Lib/test/libregrtest/utils.py | |
parent | cfeaa992ba9bad9be2687afcafd85156703d74e8 (diff) | |
download | cpython-1183e4ce2f7c07aeeff7c757ec749ef5af9d4415.zip cpython-1183e4ce2f7c07aeeff7c757ec749ef5af9d4415.tar.gz cpython-1183e4ce2f7c07aeeff7c757ec749ef5af9d4415.tar.bz2 |
gh-127146: Emscripten clean up test suite (#127984)
Removed test skips that are no longer required as a result of Emscripten updates.
Diffstat (limited to 'Lib/test/libregrtest/utils.py')
-rw-r--r-- | Lib/test/libregrtest/utils.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Lib/test/libregrtest/utils.py b/Lib/test/libregrtest/utils.py index 1ecfc61..3eff9e7 100644 --- a/Lib/test/libregrtest/utils.py +++ b/Lib/test/libregrtest/utils.py @@ -478,17 +478,6 @@ def get_temp_dir(tmp_dir: StrPath | None = None) -> StrPath: return os.path.abspath(tmp_dir) -def fix_umask() -> None: - if support.is_emscripten: - # Emscripten has default umask 0o777, which breaks some tests. - # see https://github.com/emscripten-core/emscripten/issues/17269 - old_mask = os.umask(0) - if old_mask == 0o777: - os.umask(0o027) - else: - os.umask(old_mask) - - def get_work_dir(parent_dir: StrPath, worker: bool = False) -> StrPath: # Define a writable temp dir that will be used as cwd while running # the tests. The name of the dir includes the pid to allow parallel |