Skip to content

Commit

Permalink
Merge branch 'airliquide' of github.com:lewagon/nbresult into airliquide
Browse files Browse the repository at this point in the history
  • Loading branch information
Eschults committed Oct 3, 2024
2 parents 9eaf81b + def8742 commit 8c16842
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .python-version

This file was deleted.

2 changes: 1 addition & 1 deletion nbresult/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def check(self):
"""returns test output on the ChallengeResult"""
tests_path = self._locate_tests()
file_path = f"test_{self.name}.py"
command = ["python3", "-m", "pytest", "-v", "--color=yes", file_path]
command = [sys.executable, "-m", "pytest", "-v", "--color=yes", file_path]
sub_process = subprocess.Popen(command,
cwd=tests_path, # set current working directory
stdin=subprocess.PIPE,
Expand Down

0 comments on commit 8c16842

Please sign in to comment.