Skip to content

tests fail on Python 3 because of 'basestring' #1091

@ror6ax

Description

@ror6ax

Running test suite on Python 3.6 leads to

======================================================================
ERROR: test_CustomResource (tests.test_examples.TestExamples)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/ror6ax/troposphere/.eggs/awacs-0.7.2-py3.6.egg/tests/test_examples.py", line 21, in test_file
    exec(code)
  File "examples/CustomResource.py", line 6, in <module>
    class CustomPlacementGroup(AWSCustomObject):
  File "examples/CustomResource.py", line 10, in CustomPlacementGroup
    'ServiceToken': (basestring, True),
NameError: name 'basestring' is not defined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions