We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9c3df67 + bd1e9dd commit 8235356Copy full SHA for 8235356
1 file changed
exercises/palindrome-products/palindrome_products_test.py
@@ -62,12 +62,12 @@ def test_largest_palindrome_from_four_digit_factors(self):
62
def test_empty_for_smallest_palindrome_if_none_in_range(self):
63
value, factors = smallest_palindrome(min_factor=1002, max_factor=1003)
64
self.assertIsNone(value)
65
- self.assertEqual(factors, [])
+ self.assertFactorsEqual(factors, [])
66
67
def test_empty_for_largest_palindrome_if_none_in_range(self):
68
value, factors = largest_palindrome(min_factor=15, max_factor=15)
69
70
71
72
def test_error_for_smallest_if_min_is_more_than_max(self):
73
with self.assertRaisesWithMessage(ValueError):
0 commit comments