gh-104396: uuid.py to skip platform check for emscripten and wasi (gh-104397)

This commit is contained in:
Jeong, YunWon 2023-05-12 07:45:55 +09:00 committed by GitHub
parent 7d7dd4cd70
commit 434db68ee3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ from enum import Enum, _simple_enum
__author__ = 'Ka-Ping Yee <ping@zesty.ca>'
# The recognized platforms - known behaviors
if sys.platform in ('win32', 'darwin'):
if sys.platform in ('win32', 'darwin', 'emscripten', 'wasi'):
_AIX = _LINUX = False
else:
import platform