Skip to content

Commit

Permalink
No need for unittest2 after dropping Py2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Sep 26, 2017
1 parent 63f023e commit e4c07af
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Expand Up @@ -21,7 +21,6 @@ branches:
install:
- pip install -r requirements.txt
- pip install coveralls
- if [ "$TRAVIS_PYTHON_VERSION" == "2.6" ]; then travis_retry pip install unittest2; fi

script:
- coverage run --append --source scripts test/test_gpo_member_photos.py
Expand Down
5 changes: 1 addition & 4 deletions test/test_gpo_member_photos.py
Expand Up @@ -9,10 +9,7 @@
import datetime
import os
import sys
try:
import unittest2 as unittest
except ImportError:
import unittest
import unittest

sys.path.insert(0, 'scripts')
import gpo_member_photos
Expand Down

0 comments on commit e4c07af

Please sign in to comment.