Skip to content

Commit 489fd98

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4f52ef5 commit 489fd98

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

maths/test_sieve_of_atkin.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
import pytest
33
from maths.sieve_of_atkin import sieve_of_atkin
44

5+
56
def test_small_primes():
67
assert sieve_of_atkin(10) == [2, 3, 5, 7]
78

9+
810
def test_invalid_limit():
911
with pytest.raises(ValueError):
1012
sieve_of_atkin(1)

0 commit comments

Comments
 (0)