Protect test script with if__name__==__main__
@@ -4,6 +4,8 @@ import sys
import shlex
import pytest
+if __name__ == '__main__':
+
tests = [
'-v -s -m indexed_gzip_test --niters 250 --pyargs indexed_gzip -k "not drop_handles"',
'-v -s -m indexed_gzip_test --niters 250 --concat --pyargs indexed_gzip -k "not drop_handles"'
