Skip to content

Commit 5e0e9ad

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent f5b32a1 commit 5e0e9ad

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

maths/test_factorial.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import unittest
22
from factorial import factorial
33

4-
class TestFactorial(unittest.TestCase):
54

5+
class TestFactorial(unittest.TestCase):
66
def test_zero(self):
77
self.assertEqual(factorial(0), 1)
88

@@ -18,5 +18,6 @@ def test_negative_number(self):
1818
with self.assertRaises(ValueError):
1919
factorial(-3)
2020

21-
if __name__ == '__main__':
21+
22+
if __name__ == "__main__":
2223
unittest.main()

0 commit comments

Comments
 (0)