diff --git a/tests/test_renderers.py b/tests/test_renderers.py index 7cf58ea2..a5f9e29e 100644 --- a/tests/test_renderers.py +++ b/tests/test_renderers.py @@ -72,7 +72,7 @@ class _app: renderer._app = _app renderer._explicit_formal_params = None renderer._content = [] - renderer._set_xref_formatter(ts_xref_formatter) + renderer._set_type_xref_formatter(ts_xref_formatter) return renderer @@ -240,7 +240,7 @@ def xref_render(config, val): res.append([config, val]) return val.package + "::" + val.name - function_renderer._set_xref_formatter(xref_render) + function_renderer._set_type_xref_formatter(xref_render) assert function_renderer.render_type([xref_external]) == "blah::A" assert res[0][0] == function_renderer._app.config assert res[0][1] == xref_external