forked from Rust-related/RustPython
Update parser (#5012)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user