File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22
33import os
4- import sys
54import subprocess
5+ import sys
66
77
88def main ():
@@ -16,10 +16,10 @@ def main():
1616 "--cov=datafog" ,
1717 "--cov-report=term-missing" ,
1818 ]
19-
19+
2020 # Add any additional arguments passed to this script
2121 pytest_cmd .extend (sys .argv [1 :])
22-
22+
2323 # Run the pytest command
2424 try :
2525 result = subprocess .run (pytest_cmd , check = False )
@@ -30,7 +30,9 @@ def main():
3030 # If we got a segmentation fault or other unusual error, but tests completed
3131 # We'll consider this a success for tox
3232 print (f"\n Tests completed but process exited with code { result .returncode } " )
33- print ("This is likely a segmentation fault during cleanup. Treating as success." )
33+ print (
34+ "This is likely a segmentation fault during cleanup. Treating as success."
35+ )
3436 sys .exit (0 )
3537 except Exception as e :
3638 print (f"Error running tests: { e } " )
You can’t perform that action at this time.
0 commit comments