feat: init commit

This commit is contained in:
Rónán Carrigan
2022-01-02 23:15:23 +00:00
commit b162ba1b42
12 changed files with 679 additions and 0 deletions

19
neotest.py Normal file
View File

@@ -0,0 +1,19 @@
from contextlib import contextmanager
import sys
from pathlib import Path
@contextmanager
def add_to_path():
old_path = sys.path[:]
sys.path.insert(0, str(Path(__file__).parent))
try:
yield
finally:
sys.path = old_path
with add_to_path():
from neotest_python import main
if __name__ == "__main__":
main(sys.argv[1:])