Skip to content

Commit 1d34b05

Browse files
Remove unittest main blocks
They are not necessary with tox, and reduce coverage slightly.
1 parent 13d5341 commit 1d34b05

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

tests/test_descriptions.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,3 @@ def test_all_descriptions(self):
5555
f"Meshes path {description.MESHES_PATH} does not exist "
5656
f"in {description}",
5757
)
58-
59-
60-
if __name__ == "__main__":
61-
unittest.main()

tests/test_git.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,3 @@ def test_progress_bar(self):
100100
bar.update(0, 42, 42)
101101
self.assertEqual(bar.progress.n, 42)
102102
self.assertEqual(bar.progress.total, 42)
103-
104-
105-
if __name__ == "__main__":
106-
unittest.main()

0 commit comments

Comments
 (0)