Skip to content

test: remove (object) inheritance to align with pytest style (#644)#1246

Merged
KazuCocoa merged 1 commit into
appium:masterfrom
Dor-bl:fix-test-inheritance
Jul 11, 2026
Merged

test: remove (object) inheritance to align with pytest style (#644)#1246
KazuCocoa merged 1 commit into
appium:masterfrom
Dor-bl:fix-test-inheritance

Conversation

@Dor-bl

@Dor-bl Dor-bl commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Description

This PR removes the explicit (object) inheritance from test classes across the test/ directory.

Since the codebase is now on Python 3, explicitly inheriting from object (a relic of Python 2's "new-style" classes) is redundant. Removing this boilerplate aligns the test suite with standard pytest idioms and modern Python conventions.

Fixes #644

Changes Made

  • Performed a global find and replace to update class Test*(object): to class Test*: in all test files.
  • No changes to test logic or assertions were made.

@KazuCocoa KazuCocoa merged commit d9b5cc9 into appium:master Jul 11, 2026
12 checks passed
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.

Update test code for python 3

2 participants