title: Pytest - error vs fail
body: <p>Im migrating from PyUnit to Pytest, and I found, that Pytest, unlike PyUnit, does not distinguish fails and errors in test report in quick report while running tests (where dots are printed). How to teach Pytest do do it?</p>
  
  <h2>UPDATE</h2>
  
  <p>Seems like it is valid only for PyUnit tests executed with Pytest, thanks to <a href="https://stackoverflow.com/a/21534413/1818608">flub</a> for the clue.</p>
  
  <p><strong>Code:</strong></p>
  
  <pre><code>import unittest
  
  class TestErrorFail(unittest.TestCase):
      def test_error(self):
          raise Exception('oops')
  
      def test_fail(self):
          self.assertTrue(False)
  </code></pre>
  
  <p><strong>Output:</strong></p>
  
  <pre><code>================================ test session starts =================================
  platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2
  plugins: django
  collected 2 items 
  
  sometests.py FF
  
  ====================================== FAILURES ======================================
  ______________________________ TestErrorFail.test_error ______________________________
  
  self = &lt;sometests.TestErrorFail testMethod=test_error&gt;
  
      def test_error(self):
  &gt;       raise Exception('oops')
  E       Exception: oops
  
  sometests.py:5: Exception
  ______________________________ TestErrorFail.test_fail _______________________________
  
  self = &lt;sometests.TestErrorFail testMethod=test_fail&gt;
  
      def test_fail(self):
  &gt;       self.assertTrue(False)
  E       AssertionError: False is not true
  
  sometests.py:8: AssertionError
  ============================== 2 failed in 0.69 seconds ==============================
  </code></pre>