Skip to content

System tests/Python 3: syntax and imports - #9801

Merged
michaelDCurran merged 3 commits into
nvaccess:threshold_py3_stagingfrom
josephsl:py3_systemTestsLib
Jun 24, 2019
Merged

System tests/Python 3: syntax and imports#9801
michaelDCurran merged 3 commits into
nvaccess:threshold_py3_stagingfrom
josephsl:py3_systemTestsLib

Conversation

@josephsl

Copy link
Copy Markdown
Contributor

Link to issue number:

Fixes #9798

Summary of the issue:

Converted system tests suite to Python 3.

Description of how this pull request fixes the issue:

Changes made:

  • Relative imports.
  • xmlrpclib and SimpleXMLRPCServer -> xmlrpc.
  • Basestring -> str.

Testing performed:

Tested with Python 3 source code version of NVDA and made sure it ran to successful completion (consulting the test log, for instance).

Known issues with pull request:

Due to app module handler/does app module exist function exception, tests will fail.

Change log entry:

None

josephsl added 3 commits June 23, 2019 21:10
…#9798.

In Python 3, xmlrpclib and SimleXMLRPCServer are part of a unified xmlrpc module (the former is xmlrpc.client and the latter is xmlrpc.server). Thus combine the imports.
@josephsl
josephsl requested a review from michaelDCurran June 24, 2019 05:23
@michaelDCurran
michaelDCurran merged commit e7a7af1 into nvaccess:threshold_py3_staging Jun 24, 2019
@nvaccessAuto nvaccessAuto added this to the 2019.3 milestone Jun 24, 2019
@josephsl
josephsl deleted the py3_systemTestsLib branch November 2, 2019 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants