title: Pycharm generating weird code template for a test, when using Python's pytest framework for testing
body: <p>Why is PyCharm generating the following code template, when clicking "Create New Test..:", even though I have <code>pytest</code> as my default test runner?</p>
  
  <p>If my function is <code>create_training_data</code>, then PyCharm will generate the following code for this:</p>
  
  <pre><code>from unittest import TestCase
  
  class TestCreate_training_data(TestCase):
      def test_create_training_data(self):
      self.fail()
  </code></pre>
  
  <p>Yet <code>pytest</code> neither needs the import, nor the subclassing, having</p>
  
  <pre><code>class TestCreate_training_data(object):
      def test_create_training_data(self):
      self.fail()
  </code></pre>
  
  <p>would be enough as already the getting started page shows: <a href="https://docs.pytest.org/en/latest/getting-started.html" rel="nofollow noreferrer">https://docs.pytest.org/en/latest/getting-started.html</a></p>