Disable Pytest in PyCharm
You can either create a run configuration for that specific file, under Run/Edit Configurations, or you can change the test discovery settings for py.test, so files starting with test_* are not considered test files by default.
More information here:
http://pytest.org/2.2.4/example/pythoncollection.html
Disable Pytest for you project
- Open the Settings/Preferences | Tools | Python Integrated Tools settings dialog as described in Choosing Your Testing Framework.
- In the Default test runner field select Unittests.
- Click OK to save the settings.