diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-09-16 17:20:15 -0700 |
---|---|---|
committer | Jon Dufresne <jon.dufresne@gmail.com> | 2018-09-16 17:53:48 -0700 |
commit | 89123d51895bdb828a7773228acc08b67d73255c (patch) | |
tree | d3cf128c2a02d17c44005396512cb4216c5b4116 /mock/tests/testwith.py | |
parent | 8c19ef6c95004524cb9f0b170a1aff6f47ade764 (diff) | |
download | mock-89123d51895bdb828a7773228acc08b67d73255c.tar.gz |
Drop dependency of unittest2; use stdlib unittest instead
Now that Python 2.6 support has been dropped (commit
b67fe8a6f55ba321b602740fdf0bf0d15f074f4f), can simply use Python
unittest. No unique features of unittest2 were in use that aren't also
available in the stdlib unittest. One less dependency.
Diffstat (limited to 'mock/tests/testwith.py')
-rw-r--r-- | mock/tests/testwith.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mock/tests/testwith.py b/mock/tests/testwith.py index aa7812b..ad340ab 100644 --- a/mock/tests/testwith.py +++ b/mock/tests/testwith.py @@ -4,7 +4,7 @@ from warnings import catch_warnings -import unittest2 as unittest +import unittest from mock.tests.support import is_instance from mock import MagicMock, Mock, patch, sentinel, mock_open, call |