Skip to content

Commit

Permalink
tox.ini fixed.
Browse files Browse the repository at this point in the history
add py37 suport, drop py26 support.
  • Loading branch information
Бекчурин Владислав committed Nov 3, 2020
1 parent 6790539 commit 4930dc5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ python:
- "3.4"
- "3.5"
- "3.6"
- "3.7"

install:
- python setup.py --quiet install
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ def version():
url='https://github.com/myint/unify',
classifiers=['Intended Audience :: Developers',
'Environment :: Console',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License'],
Expand Down
7 changes: 1 addition & 6 deletions test_unify.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@
import sys
import tempfile
from textwrap import dedent

try:
# Python 2.6
import unittest2 as unittest
except ImportError:
import unittest
import unittest

import unify

Expand Down
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[tox]
envlist = py2.6,py2.7,py3.4,py3.5,py3.6
envlist = py27,py34,py35,py36,py37

[testenv]
commands=python setup.py test
commands =
python test_unify.py

0 comments on commit 4930dc5

Please sign in to comment.