From e8a9466b94612babc8a437a613614debc1adbea1 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Sun, 5 Jun 2022 16:04:51 +0100 Subject: [PATCH] test fix --- tests/test_inspect.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_inspect.py b/tests/test_inspect.py index d2e2d86c..8772070c 100644 --- a/tests/test_inspect.py +++ b/tests/test_inspect.py @@ -313,7 +313,7 @@ def test_inspect_module_with_class(): ) def test_can_handle_special_characters_in_docstrings( special_character: str, expected_replacement: str -): +) -> None: class Something: class Thing: pass @@ -325,8 +325,9 @@ def test_can_handle_special_characters_in_docstrings( expected = """\ ╭─ .Something(): │ +│ class │ +│ test_can_handle_special_characters_in_docstrin │ +│ gs..Something(): │ │ │ │ Thing = class Thing(): │ │ Multiline docstring │ @@ -335,5 +336,4 @@ def test_can_handle_special_characters_in_docstrings( """ % ( expected_replacement ) - assert render(Something, methods=True) == expected