Fix runtests.py when running without arguments

This commit is contained in:
Christos Barkonikos 2021-05-14 23:37:07 +03:00
parent 3875d3284e
commit c4e985863f

View File

@ -20,6 +20,8 @@ def is_class(string):
if __name__ == "__main__":
pytest_args = None
if len(sys.argv) > 1:
pytest_args = sys.argv[1:]
first_arg = pytest_args[0]