Skip to content

Commit f8245aa

Browse files
committed
Remove use of Python-Future from tests modules
Using the future module’s functionality in the test suite is masking some package compatibility issues with native Python v2 strings.
1 parent 8215f00 commit f8245aa

14 files changed

+0
-126
lines changed

tests/api/test_accesstokens.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
# -*- coding: utf-8 -*-
22

33

4-
# Use future for Python v2 and v3 compatibility
5-
from __future__ import (
6-
absolute_import,
7-
division,
8-
print_function,
9-
unicode_literals,
10-
)
11-
from builtins import *
12-
134
import pytest
145

156
from tests.utils import create_string

tests/api/test_licenses.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,6 @@
33
"""pytest Licenses API wrapper tests and fixtures."""
44

55

6-
# Use future for Python v2 and v3 compatibility
7-
from __future__ import (
8-
absolute_import,
9-
division,
10-
print_function,
11-
unicode_literals,
12-
)
13-
from builtins import *
14-
156
import pytest
167

178
import ciscosparkapi

tests/api/test_memberships.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,6 @@
33
"""pytest Memberships functions, fixtures and tests."""
44

55

6-
# Use future for Python v2 and v3 compatibility
7-
from __future__ import (
8-
absolute_import,
9-
division,
10-
print_function,
11-
unicode_literals,
12-
)
13-
from builtins import *
14-
156
import itertools
167

178
import pytest

tests/api/test_messages.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,6 @@
22

33
"""pytest Messages functions, fixtures and tests."""
44

5-
# Use future for Python v2 and v3 compatibility
6-
from __future__ import (
7-
absolute_import,
8-
division,
9-
print_function,
10-
unicode_literals,
11-
)
12-
from builtins import *
13-
145
import itertools
156

167
import pytest

tests/api/test_organizations.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,6 @@
33
"""pytest Organizations API wrapper tests and fixtures."""
44

55

6-
# Use future for Python v2 and v3 compatibility
7-
from __future__ import (
8-
absolute_import,
9-
division,
10-
print_function,
11-
unicode_literals,
12-
)
13-
from builtins import *
14-
156
import pytest
167

178
import ciscosparkapi

tests/api/test_people.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,6 @@
33
"""pytest People functions, fixtures and tests."""
44

55

6-
# Use future for Python v2 and v3 compatibility
7-
from __future__ import (
8-
absolute_import,
9-
division,
10-
print_function,
11-
unicode_literals,
12-
)
13-
from builtins import *
14-
156
import itertools
167

178
import pytest

tests/api/test_roles.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,6 @@
33
"""pytest Roles API wrapper tests and fixtures."""
44

55

6-
# Use future for Python v2 and v3 compatibility
7-
from __future__ import (
8-
absolute_import,
9-
division,
10-
print_function,
11-
unicode_literals,
12-
)
13-
from builtins import *
14-
156
import pytest
167

178
import ciscosparkapi

tests/api/test_rooms.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,6 @@
22

33
"""pytest Rooms functions, fixtures and tests."""
44

5-
# Use future for Python v2 and v3 compatibility
6-
from __future__ import (
7-
absolute_import,
8-
division,
9-
print_function,
10-
unicode_literals,
11-
)
12-
from builtins import *
13-
145
import itertools
156

167
import pytest

tests/api/test_teammemberships.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,6 @@
33
"""pytest Team Memberships functions, fixtures and tests."""
44

55

6-
# Use future for Python v2 and v3 compatibility
7-
from __future__ import (
8-
absolute_import,
9-
division,
10-
print_function,
11-
unicode_literals,
12-
)
13-
from builtins import *
14-
156
import itertools
167

178
import pytest

tests/api/test_teams.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,6 @@
33
"""pytest Team functions, fixtures and tests."""
44

55

6-
# Use future for Python v2 and v3 compatibility
7-
from __future__ import (
8-
absolute_import,
9-
division,
10-
print_function,
11-
unicode_literals,
12-
)
13-
from builtins import *
14-
156
import itertools
167

178
import pytest

0 commit comments

Comments
 (0)