Drop use of unittest2

unittest2 was needed for compatibility with python <= 2.6, so we have
not needed this for quite some time now. See unittest2 note on:

https://docs.python.org/2.7/library/unittest.html

This drops the use of unittest2 in favor of the standard unittest
package.

Change-Id: I46ec317f0ee43ff95d8af1aa68b8d0596dc4dd35
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis 2020-01-12 02:31:47 -06:00
parent 7f6c72d97b
commit f8b81c71f9
No known key found for this signature in database
GPG Key ID: CE7EE4BFAF8D70C8
2 changed files with 1 additions and 6 deletions

View File

@ -26,4 +26,3 @@ testrepository==0.0.18
testresources==2.0.0
testtools==2.2.0
traceback2==1.4.0
unittest2==1.1.0

View File

@ -14,11 +14,7 @@
# License for the specific language governing permissions and limitations
# under the License.
# py26 compat
try:
import unittest2 as unittest
except ImportError:
import unittest
import unittest
import pymod2pkg