Skip to content

Commit

Permalink
Use string instead of int for environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
garstka committed Mar 10, 2019
1 parent 1d9e18f commit dcce277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def main(argv):
"""Main script function."""
os.chdir(WORKING_DIR)

jobs = argv[2] if len(argv) == 3 and argv[1] == '-n' else 1
jobs = argv[2] if len(argv) == 3 and argv[1] == '-n' else '1'
os.environ['IDACT_TESTING_PROCESS_COUNT'] = jobs

codes = [(command, run(command.format(jobs=jobs)))
Expand Down

0 comments on commit dcce277

Please sign in to comment.