Skip to content

Commit 3d34129

Browse files
committed
Rootdir setting for pytest
1 parent b608ce7 commit 3d34129

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mutmut/__main__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,7 @@ def new_tests(self):
687687
class PytestRunner(TestRunner):
688688
def execute_pytest(self, params, **kwargs):
689689
import pytest
690+
params += ['--rootdir=.']
690691
if mutmut.config.debug:
691692
params = ['-vv'] + params
692693
print('python -m pytest ', ' '.join(params))

0 commit comments

Comments
 (0)