diff --git a/.travis.yml b/.travis.yml index ccc6e7abf..1ae6e415c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,8 +35,9 @@ after_success: - pip install pep8 pyflakes - pep8 PIL/*.py - pyflakes PIL/*.py + - pep8 Tests/*.py + - pyflakes Tests/*.py matrix: allow_failures: - python: "pypy" - - python: 3.4 diff --git a/Tests/tester.py b/Tests/tester.py index 32da48e98..815c526c4 100644 --- a/Tests/tester.py +++ b/Tests/tester.py @@ -345,7 +345,10 @@ def _setup(): import sys if "--coverage" in sys.argv: - import coverage + # Temporary: ignore PendingDeprecationWarning from Coverage (Py3.4) + with warnings.catch_warnings(): + warnings.simplefilter("ignore") + import coverage cov = coverage.coverage(auto_data=True, include="PIL/*") cov.start()