Update parser (#5012)

This commit is contained in:
Jeong, YunWon
2023-06-18 02:38:42 +09:00
committed by GitHub
parent 5c81649b19
commit 3d2c51962b
6 changed files with 188 additions and 188 deletions

View File

@@ -8,7 +8,7 @@ dir_path = os.path.dirname(os.path.realpath(__file__))
# TODO: RUSTPYTHON. At some point snippets will fail and it will look confusing
# and out of the blue. This is going to be the cause and it's going to happen when
# the github worker for MacOS starts using Python 3.11.4.
if platform.python_implementation == "CPython" and platform.system() == 'Darwin':
if platform.python_implementation() == "CPython" and platform.system() == 'Darwin':
expectedException = ValueError
else:
expectedException = SyntaxError