Add __future__ imports to all pytest modules

This prevents silly errors from creeping in Python 2 when testing in Python 3
This commit is contained in:
Bruno Oliveira
2017-03-16 22:21:30 -03:00
parent 7684b3af7b
commit 42a5d6bdfa
72 changed files with 94 additions and 22 deletions

View File

@@ -2,6 +2,8 @@
This is a good source for looking at the various reporting hooks.
"""
from __future__ import absolute_import, division, print_function
from _pytest.main import EXIT_OK, EXIT_TESTSFAILED, EXIT_INTERRUPTED, \
EXIT_USAGEERROR, EXIT_NOTESTSCOLLECTED
import pytest