summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDalf <alex@al-f.net>2020-08-12 09:42:27 +0200
committerAlexandre Flament <alex@al-f.net>2020-09-10 10:39:04 +0200
commit78883777438fc07833d983c50d9b131eb6feb9eb (patch)
treefec44995d58a5c8ebe33ccd4406eaa228a55cbb3 /tests
parent78df10fb55d9632ccae71d9f3b9260c7614a421c (diff)
downloadsearxng-78883777438fc07833d983c50d9b131eb6feb9eb.tar.gz
searxng-78883777438fc07833d983c50d9b131eb6feb9eb.zip
Drop Python 2 (3/n): objects
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/test_preferences.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test_preferences.py b/tests/unit/test_preferences.py
index 9117ddba0..32f50c60b 100644
--- a/tests/unit/test_preferences.py
+++ b/tests/unit/test_preferences.py
@@ -3,7 +3,7 @@ from searx.preferences import (EnumStringSetting, MapSetting, MissingArgumentExc
from searx.testing import SearxTestCase
-class PluginStub(object):
+class PluginStub:
def __init__(self, id, default_on):
self.id = id