Skip to content

Cannot use SauceTestCase under Python 3 #112

Closed

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'

Activity

  1. imurchie commented on Nov 21, 2015

    @imurchie
    Collaborator

    Fixed by #113

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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