Skip to content

Cannot use SauceTestCase under Python 3 #112

@Ling

Description

@Ling

Module 'new' was removed in Python 3 (deprecated since 2.6) and replaced with types.

python3 -m appium.saucetestcase
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/runpy.py", line 170, in _run_module_as_main
"main", mod_spec)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/appium/saucetestcase.py", line 18, in
import new
ImportError: No module named 'new'

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