From 6f55c17f48d7608072199496fbcefa33f2e97bf0 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sun, 4 Jan 2015 15:39:28 +0100 Subject: Replaced ordered dict with standard version; used logging module All performance tests still print to stderr, but do so in a py3 compatible way --- git/test/lib/asserts.py | 1 + 1 file changed, 1 insertion(+) (limited to 'git/test/lib/asserts.py') 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 -- cgit v1.2.1