diff --git a/python-pytest.el b/python-pytest.el index 7c79ab0..39b536e 100644 --- a/python-pytest.el +++ b/python-pytest.el @@ -534,7 +534,7 @@ Example: ‘MyABCThingy.__repr__’ becomes ‘test_my_abc_thingy_repr’." (defun python-pytest--project-root () "Find the project root directory." (let ((projectile-require-project-root nil)) - (projectile-project-root))) + (projectile-compilation-dir))) (defun python-pytest--relative-file-name (file) "Make FILE relative to the project root."