Browse Source

Merge pull request #2608 from return42/unittest2

[py2to3] use unittest from py3, remove unittest2 from py2
Alexandre Flament 4 years ago
parent
commit
e2fb500892
2 changed files with 1 additions and 2 deletions
  1. 0 1
      requirements-dev.txt
  2. 1 1
      searx/testing.py

+ 0 - 1
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

+ 1 - 1
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: