Skip to content

Commit 3c5c488

Browse files
committed
python 2.6 support
1 parent a0d7799 commit 3c5c488

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

pytest_echo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def get_module_attribute(path):
7575
for i, el in enumerate(parts):
7676
try:
7777
if parent:
78-
a = "{}.{}".format(parent, parts[i])
78+
a = "%s.%s" % (parent, parts[i])
7979
else:
8080
a = parts[i]
8181
pkg = __import__(a, fromlist=[parent])

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
'Topic :: Software Development :: Libraries',
2929
'Topic :: Utilities',
3030
'Programming Language :: Python',
31+
'Programming Language :: Python :: 2.6',
3132
'Programming Language :: Python :: 2.7',
3233
'Programming Language :: Python :: 3.3',
3334
'Programming Language :: Python :: 3.4',

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist=py27,py33,py34
2+
envlist=py26,py27,py32,py33,py34,pypy
33

44
[testenv]
55
deps = pytest

0 commit comments

Comments
 (0)