title: How can I set a default per test timeout in pytest?
body: <p>I want to enforce that no test takes longer than 3 seconds in pytest.</p>
  
  <p>pytest-timeout (<a href="https://pypi.python.org/pypi/pytest-timeout" rel="noreferrer">https://pypi.python.org/pypi/pytest-timeout</a>) almost does what I want... but it seems to allow me to either set a global timeout (ie make sure the test suite takes less than 10 minutes) or, an ability to set a decorator on each test manually.</p>
  
  <p><strong>Desired Behavior:</strong>
  Configure pytest with a single setting to fail any individual test which exceeds 3 seconds.</p>