File tree Expand file tree Collapse file tree 4 files changed +2
-12
lines changed
Expand file tree Collapse file tree 4 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ before_install:
3232 - cd ..
3333 - pip install coverage coveralls
3434 - if [[ $TRAVIS_PYTHON_VERSION == '3.7' ]]; then pip install pylint yapf; fi
35- - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi
3635 - |
3736 if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then
3837 sudo apt-get install -y nodejs;
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ invalid IP address or an IPv6 address in an IPv4 database.
8585Requirements
8686------------
8787
88- This code requires Python 2.6 + or 3.3+. The C extension requires CPython. The
88+ This code requires Python 2.7 + or 3.3+. The C extension requires CPython. The
8989pure Python implementation has been tested with PyPy.
9090
9191On Python 2, the `ipaddress module <https://pypi.python.org/pypi/ipaddress >`_ is
Original file line number Diff line number Diff line change 3737# Cargo cult code for installing extension with pure Python fallback.
3838# Taken from SQLAlchemy, but this same basic code exists in many modules.
3939ext_errors = (CCompilerError , DistutilsExecError , DistutilsPlatformError )
40- if sys .platform == 'win32' :
41- # 2.6's distutils.msvc9compiler can raise an IOError when failing to
42- # find the compiler
43- ext_errors += (IOError , )
44-
4540
4641class BuildFailed (Exception ):
4742 def __init__ (self ):
@@ -141,7 +136,6 @@ def run_setup(with_cext):
141136 'Intended Audience :: Developers' ,
142137 'Intended Audience :: System Administrators' ,
143138 'License :: OSI Approved :: Apache Software License' ,
144- 'Programming Language :: Python :: 2.6' ,
145139 'Programming Language :: Python :: 2.7' ,
146140 'Programming Language :: Python :: 3' ,
147141 'Programming Language :: Python :: 3.3' ,
Original file line number Diff line number Diff line change 99from maxminddb .compat import byte_from_int , int_from_byte
1010from maxminddb .decoder import Decoder
1111
12- if sys .version_info [:2 ] == (2 , 6 ):
13- import unittest2 as unittest
14- else :
15- import unittest
12+ import unittest
1613
1714if sys .version_info [0 ] == 2 :
1815 unittest .TestCase .assertRaisesRegex = unittest .TestCase .assertRaisesRegexp
You can’t perform that action at this time.
0 commit comments