summaryrefslogtreecommitdiff
path: root/git/test/lib/asserts.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-01-04 15:39:28 +0100
committerSebastian Thiel <byronimo@gmail.com>2015-01-04 15:39:28 +0100
commit6f55c17f48d7608072199496fbcefa33f2e97bf0 (patch)
treed6c69f667f3cce87d3fe5bf9baa62a081f4af7a8 /git/test/lib/asserts.py
parent1b9d3b961bdf79964b883d3179f085d8835e528d (diff)
downloadgitpython-6f55c17f48d7608072199496fbcefa33f2e97bf0.tar.gz
Replaced ordered dict with standard version; used logging module
All performance tests still print to stderr, but do so in a py3 compatible way
Diffstat (limited to 'git/test/lib/asserts.py')
-rw-r--r--git/test/lib/asserts.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/git/test/lib/asserts.py b/git/test/lib/asserts.py
index 98751d4d..0f2fd99a 100644
--- a/git/test/lib/asserts.py
+++ b/git/test/lib/asserts.py
@@ -27,6 +27,7 @@ from mock import (
patch
)
+
def assert_instance_of(expected, actual, msg=None):
"""Verify that object is an instance of expected """
assert isinstance(actual, expected), msg