Skip to content

Commit 0be5441

Browse files
authored
Merge pull request #82 from Preocts/preocts
add init to tests for mypy module rules
2 parents c0212ab + dcd00db commit 0be5441

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)