Skip to content

Commit a332da0

Browse files
committed
Remove future from py3 tests
1 parent c6d1f06 commit a332da0

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import sys
2-
31
from setuptools import setup, find_packages
42
from os import path
53
from aws_xray_sdk.version import VERSION
4+
from aws_xray_sdk.core.utils.compat import PY2
65

76
CURRENT_DIR = path.abspath(path.dirname(__file__))
87

@@ -20,7 +19,7 @@
2019
'botocore>=1.11.3',
2120
]
2221

23-
if sys.version_info[0] == 2:
22+
if PY2:
2423
INSTALL_REQUIRED_DEPS.append("future")
2524

2625
setup(

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ deps =
5252
codecov
5353

5454
; Packages common to all test environments
55-
future
5655
wrapt
5756

5857
; Python 2.7 only deps
5958
py{27}: enum34
6059
py{27}: mock
60+
py{27}: future
6161

6262
; Python 3.4 only deps
6363
py34: typing >= 3.7.4.3

0 commit comments

Comments
 (0)