diff --git a/.travis.yml b/.travis.yml index 6573eed..7defc66 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,9 +7,8 @@ python: - pypy - pypy3 - 2.7 + - 3.6 - 3.5 - - 2.6 - - 3.3 - 3.4 install: @@ -17,7 +16,6 @@ install: - pip install coverage - pip install pep8 - pip install pyflakes - - if [ "$TRAVIS_PYTHON_VERSION" == "2.6" ]; then pip install unittest2; fi script: - coverage run --include=warnaserror.py -m nose -vx tests/test_*.py diff --git a/tests/test_fake.py b/tests/test_fake.py index 1fdba63..7c7eee1 100755 --- a/tests/test_fake.py +++ b/tests/test_fake.py @@ -4,10 +4,7 @@ """ from __future__ import print_function, unicode_literals -try: - import unittest2 as unittest -except ImportError: - import unittest +import unittest class TestFake(unittest.TestCase): diff --git a/warnaserror.py b/warnaserror.py index 526af7b..a0e268a 100644 --- a/warnaserror.py +++ b/warnaserror.py @@ -5,7 +5,7 @@ class WarnAsError(Plugin): - """Treat warnings that occur DURIONG tests as errors.""" + """Treat warnings that occur DURING tests as errors.""" enabled = False def options(self, parser, env):