Having directory marked as a source root prevents PyCharm from running tests
Answered
I have a project with very simple structure. But when I mark directory aind as a source root PyCharm doesn't allow me run tests in test_sudoku.py:
Build #PY-171.4163.6
Not marked as a source root, I can run tests:

Marked as a source root, I can't run tests:

Please sign in to leave a comment.
It's a known issue https://youtrack.jetbrains.com/issue/PY-23647, please follow it for updates. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.