diff --git a/test/test_python_errors.py b/test/test_python_errors.py index 759b603..7a5620d 100644 --- a/test/test_python_errors.py +++ b/test/test_python_errors.py @@ -78,7 +78,7 @@ def test_python_exception_matches(code): def test_statically_nested_blocks(): def indent(code): - lines = code.splitlines(keepends=True) + lines = code.splitlines(True) return ''.join([' ' + line for line in lines]) def build(code, depth):