From 238d561cbf1f56d6fd5c135ef1aad9a3b172c549 Mon Sep 17 00:00:00 2001 From: Hood Chatham Date: Thu, 28 Sep 2023 12:03:05 -0700 Subject: [PATCH] Fix tests --- tests/test_renderers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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