Skip to content

Commit 7d90a73

Browse files
committed
Simplify unittest caller
1 parent cc07677 commit 7d90a73

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

fortls.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
#!/usr/bin/env python3
2+
# file used for unit testing
23
if __name__ == "__main__":
3-
import sys
4-
import os
5-
6-
root_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
7-
sys.path.insert(0, root_dir)
84
import fortls
95

106
fortls.main()

0 commit comments

Comments
 (0)