Skip to content

Commit 5ce29e4

Browse files
committed
Remove test packages in requirements.txt
1 parent bdcc0d6 commit 5ce29e4

3 files changed

Lines changed: 5 additions & 7 deletions

File tree

funcs/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
# placeholder file to modularize (to package) .py files
2-
# under the directory "funcs", making the files importable.
1+
# placeholder file to modularize (to package) .py files under the directory "tests", making the files importable.

tests/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
# placeholder file to modularize (to package) .py files
2-
# under the directory "tests", making the files importable.
1+
# placeholder file to modularize (to package) .py files under the directory "tests", making the files importable.

tests/test_func.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import unittest
2-
from unittest.mock import patch
32
from funcs import func
43

4+
55
class Test(unittest.TestCase):
66

77
def test_sum(self):
8-
self.assertEqual(func.sum(2,3), 5)
8+
self.assertEqual(func.sum(2, 3), 5)
9+
910

1011
if __name__ == "__main__":
1112
unittest.main()
12-

0 commit comments

Comments
 (0)