test(Add unit tests):
This commit is contained in:
8
myenv/bin/pytest
Executable file
8
myenv/bin/pytest
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/home/muzhi/tpre-python/myenv/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
from pytest import console_main
|
||||
if __name__ == '__main__':
|
||||
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
||||
sys.exit(console_main())
|
||||
Reference in New Issue
Block a user