diff --git a/pystencils_tests/test_opencl.py b/pystencils_tests/test_opencl.py index 830cf60633e4fc651257201379d42a2a630c334d..98ea1f991af0b62e3f4af9fce1ff3c0d36552a4d 100644 --- a/pystencils_tests/test_opencl.py +++ b/pystencils_tests/test_opencl.py @@ -249,7 +249,7 @@ def test_kernel_creation(): print(ast.backend) - code = str(pystencils.show_code(ast)) + code = pystencils.get_code_str(ast) print(code) assert 'get_local_size' in code