aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests
diff options
Diffstat (limited to 'sources/shiboken6/tests')
-rw-r--r--sources/shiboken6/tests/samplebinding/bug_704_test.py2
-rw-r--r--sources/shiboken6/tests/samplebinding/metaclass_test.py2
-rw-r--r--sources/shiboken6/tests/samplebinding/mixed_mi_test.py2
-rw-r--r--sources/shiboken6/tests/samplebinding/overload_sorting_test.py2
-rw-r--r--sources/shiboken6/tests/samplebinding/overload_test.py2
5 files changed, 5 insertions, 5 deletions
diff --git a/sources/shiboken6/tests/samplebinding/bug_704_test.py b/sources/shiboken6/tests/samplebinding/bug_704_test.py
index d0cfe4038..76fa84653 100644
--- a/sources/shiboken6/tests/samplebinding/bug_704_test.py
+++ b/sources/shiboken6/tests/samplebinding/bug_704_test.py
@@ -15,7 +15,7 @@ init_paths()
from sample import ObjectType
-class NewStyle(object):
+class NewStyle:
def name(self):
return "NewStyle"
diff --git a/sources/shiboken6/tests/samplebinding/metaclass_test.py b/sources/shiboken6/tests/samplebinding/metaclass_test.py
index c233e7e12..cbde1b579 100644
--- a/sources/shiboken6/tests/samplebinding/metaclass_test.py
+++ b/sources/shiboken6/tests/samplebinding/metaclass_test.py
@@ -18,7 +18,7 @@ class MetaA(type):
pass
-class A(object):
+class A:
__metaclass__ = MetaA
diff --git a/sources/shiboken6/tests/samplebinding/mixed_mi_test.py b/sources/shiboken6/tests/samplebinding/mixed_mi_test.py
index b3ee886d4..50e4970ce 100644
--- a/sources/shiboken6/tests/samplebinding/mixed_mi_test.py
+++ b/sources/shiboken6/tests/samplebinding/mixed_mi_test.py
@@ -17,7 +17,7 @@ init_paths()
from sample import ObjectType
-class Base(object):
+class Base:
'''Base Python class'''
def __init__(self):
diff --git a/sources/shiboken6/tests/samplebinding/overload_sorting_test.py b/sources/shiboken6/tests/samplebinding/overload_sorting_test.py
index 462a44eff..df4fdc010 100644
--- a/sources/shiboken6/tests/samplebinding/overload_sorting_test.py
+++ b/sources/shiboken6/tests/samplebinding/overload_sorting_test.py
@@ -18,7 +18,7 @@ from sample import (CustomOverloadSequence, ImplicitBase, ImplicitConv,
ImplicitTarget, SortedOverload)
-class Dummy(object):
+class Dummy:
pass
diff --git a/sources/shiboken6/tests/samplebinding/overload_test.py b/sources/shiboken6/tests/samplebinding/overload_test.py
index f87e4ef57..95a313df0 100644
--- a/sources/shiboken6/tests/samplebinding/overload_test.py
+++ b/sources/shiboken6/tests/samplebinding/overload_test.py
@@ -179,7 +179,7 @@ class OverloadTest(unittest.TestCase):
# Overload.acceptSequence(void*)
overload = Overload()
- class Foo(object):
+ class Foo:
pass
foo = Foo()