diff options
Diffstat (limited to '_test/test_z_check_debug_leftovers.py')
-rw-r--r-- | _test/test_z_check_debug_leftovers.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/_test/test_z_check_debug_leftovers.py b/_test/test_z_check_debug_leftovers.py index f5be5df..7096a73 100644 --- a/_test/test_z_check_debug_leftovers.py +++ b/_test/test_z_check_debug_leftovers.py @@ -1,7 +1,8 @@ # coding: utf-8 import sys -import pytest # NOQA +from typing import Any +import pytest # type: ignore # NOQA from roundtrip import round_trip_load, round_trip_dump, dedent @@ -9,7 +10,7 @@ from roundtrip import round_trip_load, round_trip_dump, dedent class TestLeftOverDebug: # idea here is to capture round_trip_output via pytest stdout capture # if there is are any leftover debug statements they should show up - def test_00(self, capsys): + def test_00(self, capsys: Any) -> None: s = dedent(""" a: 1 b: [] @@ -21,7 +22,7 @@ class TestLeftOverDebug: out, err = capsys.readouterr() assert out == s - def test_01(self, capsys): + def test_01(self, capsys: Any) -> None: s = dedent(""" - 1 - [] |