diff options
author | Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> | 2021-09-04 18:52:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-04 18:52:55 +0200 |
commit | 25000863761220c1aa5db129e3cd41f5fe51b167 (patch) | |
tree | d211e4464a8aef25f969adffe7ba7cb6df8b8981 /tests/pyreverse/test_printer.py | |
parent | 6c818310fd0e2396b6333ad623da577bf84e361e (diff) | |
download | pylint-git-25000863761220c1aa5db129e3cd41f5fe51b167.tar.gz |
Add typing with `PyAnnotate` to `./tests` (#4950)
* Add mypy_extensions to requirement for ``NoReturn``
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'tests/pyreverse/test_printer.py')
-rw-r--r-- | tests/pyreverse/test_printer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pyreverse/test_printer.py b/tests/pyreverse/test_printer.py index 77d12f630..b5606e37b 100644 --- a/tests/pyreverse/test_printer.py +++ b/tests/pyreverse/test_printer.py @@ -47,6 +47,6 @@ def test_unsupported_layout(layout: Layout, printer_class: Type[Printer]): class TestPlantUmlPrinter: printer = PlantUmlPrinter(title="unittest", layout=Layout.TOP_TO_BOTTOM) - def test_node_without_properties(self): + def test_node_without_properties(self) -> None: self.printer.emit_node(name="test", type_=NodeType.CLASS) assert self.printer.lines[-2:] == ['class "test" as test {\n', "}\n"] |