From cde16a062e14d0a2fda32158ac2e90799570a796 Mon Sep 17 00:00:00 2001 From: John Evans Date: Thu, 11 Sep 2014 11:47:01 -0400 Subject: [PATCH] Add six to travis harness requirements. --- .travis.yml | 6 +++--- glymur/test/test_glymur_warnings.py | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3a9cb61..406e470 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,9 +12,9 @@ before_install: # command to install dependencies install: - - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install lxml contextlib2 mock; fi - - if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then pip install lxml numpy; fi - - if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then pip install lxml numpy; fi + - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install lxml contextlib2 mock six; fi + - if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then pip install lxml numpy six; fi + - if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then pip install lxml numpy six; fi # command to run tests script: diff --git a/glymur/test/test_glymur_warnings.py b/glymur/test/test_glymur_warnings.py index fc8b3af..88f1d83 100644 --- a/glymur/test/test_glymur_warnings.py +++ b/glymur/test/test_glymur_warnings.py @@ -8,12 +8,13 @@ Test suite for warnings issued by glymur. import os import re import struct -import six import sys import tempfile import unittest import warnings +import six + from glymur import Jp2k import glymur