mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Remove todo comment of resolved issue
This commit is contained in:
1 parent
bb8526ac28
commit
c7689c97cb
1 file changed
+1
-2
@@ -5,8 +5,7 @@ from testutils import assert_raises
|
||||
|
||||
dir_path = os.path.dirname(os.path.realpath(__file__))
|
||||
|
||||
# TODO: RUSTPYTHON, RustPython raises a SyntaxError here, but cpython raise a ValueError
|
||||
error = SyntaxError if platform.python_implementation() == 'RustPython' else ValueError
|
||||
error = ValueError
|
||||
with assert_raises(error):
|
||||
with open(os.path.join(dir_path , "non_utf8.txt")) as f:
|
||||
eval(f.read())
|
||||
Reference in new issue
Block a user