Remove todo comment of resolved issue

This commit is contained in:
Moreal committed 2022-08-13 02:26:02 +09:00
1 parent bb8526ac28
commit c7689c97cb
1 file changed
+1 -2
+1 -2
View File
@@ -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())