summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorh-hirokawa <h.hirokawa@realglobe.jp>2017-12-12 14:52:54 +0900
committerh-hirokawa <h.hirokawa@realglobe.jp>2017-12-12 14:52:54 +0900
commit9ac80c514fc26ebed0bec0e8d67ae6b0b4e50679 (patch)
tree0566d6ab7f293b9b8bbd55fbe95a8be49f3e8b9f
parent08ef3a184429cb5a57a740c473ce0871816890b4 (diff)
downloadisort-9ac80c514fc26ebed0bec0e8d67ae6b0b4e50679.tar.gz
Drop support for Python 3.3.
-rw-r--r--.travis.yml2
-rw-r--r--appveyor.yml2
-rwxr-xr-xsetup.py1
-rw-r--r--test_isort.py5
-rw-r--r--tox.ini2
5 files changed, 4 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml
index d1cdbf23..ae6cbac9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,8 +8,6 @@ matrix:
env: TOXENV=lint
- python: 2.7
env: TOXENV=py27
- - python: 3.3
- env: TOXENV=py33
- python: 3.4
env: TOXENV=py34
- python: 3.5
diff --git a/appveyor.yml b/appveyor.yml
index 3b6746b7..48207e2d 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -9,4 +9,4 @@ install:
- pip install tox
test_script:
- - tox -e isort-check,py27,py33,py34,py35,py36
+ - tox -e isort-check,py27,py34,py35,py36
diff --git a/setup.py b/setup.py
index eb266a34..52ef1a25 100755
--- a/setup.py
+++ b/setup.py
@@ -65,7 +65,6 @@ setup(name='isort',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
diff --git a/test_isort.py b/test_isort.py
index 6dbb7c2b..de4f8c9c 100644
--- a/test_isort.py
+++ b/test_isort.py
@@ -2200,7 +2200,7 @@ def test_ensure_as_imports_sort_correctly_within_from_imports_issue_590():
'from os import pathsep as separator\n')
assert SortImports(file_contents=test_input, force_single_line=True).output == test_input
-
+
def test_ensure_line_endings_are_preserved_issue_493():
"""Test to ensure line endings are not converted"""
test_input = ('from os import defpath\r\n'
@@ -2213,7 +2213,7 @@ def test_ensure_line_endings_are_preserved_issue_493():
'from os import pathsep as separator\n')
assert SortImports(file_contents=test_input).output == test_input
-
+
def test_not_splitted_sections():
whiteline = '\n'
stdlib_section = 'import unittest\n'
@@ -2238,4 +2238,3 @@ def test_not_splitted_sections():
)
assert SortImports(file_contents=test_input, no_lines_before=['FIRSTPARTY', 'LOCALFOLDER']).output == \
(stdlib_section + firstparty_section + local_section + whiteline + statement)
-
diff --git a/tox.ini b/tox.ini
index 7c70f99e..943b3568 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,7 +1,7 @@
[tox]
envlist =
isort-check,
- py27, py33, py34, py35, py36, pypy,
+ py27, py34, py35, py36, pypy,
lint
[testenv]