[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>
commit3bae35940a41da97c93e34193549eb73b01141ef
authorMarkus Heiser <markus.heiser@darmarit.de>
dateSun 28 Feb 2021, 11:25 (6 years ago)
parentb05f4d0
requirements-dev.txt−1
@@ -5,7 +5,6 @@ pycodestyle==2.6.0
55pylint==2.6.2
66splinter==0.14.0
77transifex-client==0.14.2
8−unittest2==1.1.0
98selenium==3.141.0
109twine==3.3.0
1110Pallets-Sphinx-Themes==1.2.3
searx/testing.py+1−1
@@ -10,8 +10,8 @@ import traceback
1010
1111from os.path import dirname, join, abspath, realpath
1212
13+from unittest import TestCase
1314from splinter import Browser
14−from unittest2 import TestCase
1515
1616
1717class SearxTestLayer: