Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
Do not hard-code Python 3.
Browse files Browse the repository at this point in the history
  • Loading branch information
ericsnowcurrently committed Jan 9, 2018
1 parent e3d1732 commit dc00f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
TEST_ROOT = os.path.dirname(__file__)
PROJECT_ROOT = os.path.dirname(TEST_ROOT)

executable = 'python3 -m unittest'

executable = sys.executable + ' -m unittest'
if all(arg.startswith('-') for arg in sys.argv[1:]):
argv = [executable,
'discover',
Expand Down

0 comments on commit dc00f36

Please sign in to comment.