We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91f42c5 commit 051a57dCopy full SHA for 051a57d
maths/prime_check.py
@@ -63,7 +63,7 @@ def test_primes(self):
63
64
def test_not_primes(self):
65
with self.assertRaises(AssertionError):
66
- is_prime(19)
+ is_prime(-19)
67
self.assertFalse(
68
is_prime(0),
69
"Zero doesn't have any positive factors, primes must have exactly two.",
0 commit comments