Skip to content

Commit dcd00db

Browse files
committed
add init to tests for mypy module rules
1 parent c0212ab commit dcd00db

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/__init__.py

Whitespace-only changes.

tests/test_sample.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from module_name import sample
66

77

8-
def test_main() -> None:
8+
def test_main():
99
"""Main test"""
1010
assert sample.main()
1111

@@ -18,5 +18,5 @@ def test_main() -> None:
1818
(16, 256),
1919
),
2020
)
21-
def test_squared(value_in: int, expected: int) -> None:
21+
def test_squared(value_in, expected):
2222
assert sample.squared(value_in) == expected

0 commit comments

Comments
 (0)