Skip to content

Import failing on Python 3.6 #57

@joaonc

Description

@joaonc

There's an unsupported syntax in HttpLibrary init.py

except ValueError, e:

is not supported in Python 3.6 (maybe other versions as well, not sure).
Updating to

except ValueError as e:

works for Python 2.7 and above (maybe for lower versions of Python as well, not sure).

Also:
from urllib import urlparse
becomes
from urllib.parse import urlparse

and it's failing on importing livetest.
Tried from HttpLibrary import livetest but that's not working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions