summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-02-28 11:25:20 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2021-02-28 11:37:06 +0100
commit3bae35940a41da97c93e34193549eb73b01141ef (patch)
tree8919a9b7cb1d3fcbe218abb39bc6651d26d294ad
parentb05f4d066429ddc3cd1fe9f09648183b3649efba (diff)
[py2to3] use unittest from py3, remove unittest2 from py2
- unittest2 is a backport of the new features added to the unittest testing framework in Python 2.7 - unittest2 was only needed in py2 and can be dropped now Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
-rw-r--r--requirements-dev.txt1
-rw-r--r--searx/testing.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/requirements-dev.txt b/requirements-dev.txt
index 4a21a3e2d..a0025d599 100644
--- a/requirements-dev.txt
+++ b/requirements-dev.txt
@@ -5,7 +5,6 @@ pycodestyle==2.6.0
pylint==2.6.2
splinter==0.14.0
transifex-client==0.14.2
-unittest2==1.1.0
selenium==3.141.0
twine==3.3.0
Pallets-Sphinx-Themes==1.2.3
diff --git a/searx/testing.py b/searx/testing.py
index c52974961..ec253cb3d 100644
--- a/searx/testing.py
+++ b/searx/testing.py
@@ -10,8 +10,8 @@ import traceback
from os.path import dirname, join, abspath, realpath
+from unittest import TestCase
from splinter import Browser
-from unittest2 import TestCase
class SearxTestLayer: