diff options
author | Kostis Anagnostopoulos <ankostis@gmail.com> | 2016-09-15 00:59:36 +0200 |
---|---|---|
committer | Kostis Anagnostopoulos <ankostis@gmail.com> | 2016-09-25 18:35:03 +0200 |
commit | 7842e92ebaf3fc3380cc8d704afa3841f333748c (patch) | |
tree | 0e5b1cdba78bce1c6f26c41945d267a715501d58 /git/test/lib/asserts.py | |
parent | f73468bb9cb9e479a0b81e3766623c32802db579 (diff) | |
download | gitpython-7842e92ebaf3fc3380cc8d704afa3841f333748c.tar.gz |
test, deps: FIX `mock` deps on py3.
+ Del extra spaces, import os.path as osp
Diffstat (limited to 'git/test/lib/asserts.py')
-rw-r--r-- | git/test/lib/asserts.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/git/test/lib/asserts.py b/git/test/lib/asserts.py index 60a888b3..9edc49e0 100644 --- a/git/test/lib/asserts.py +++ b/git/test/lib/asserts.py @@ -16,7 +16,10 @@ from nose.tools import ( assert_false ) -from mock import patch +try: + from unittest.mock import patch +except ImportError: + from mock import patch __all__ = ['assert_instance_of', 'assert_not_instance_of', 'assert_none', 'assert_not_none', |