From 99b6dffe9604f86f08c2b53bef4f8ab35bb565a1 Mon Sep 17 00:00:00 2001 From: Harmon Date: Sun, 16 Feb 2020 17:44:22 -0600 Subject: Remove test.lib.asserts and use unittest.mock.patch directly --- git/test/lib/__init__.py | 1 - git/test/lib/asserts.py | 9 --------- 2 files changed, 10 deletions(-) delete mode 100644 git/test/lib/asserts.py (limited to 'git/test/lib') diff --git a/git/test/lib/__init__.py b/git/test/lib/__init__.py index 87e26752..1551ce45 100644 --- a/git/test/lib/__init__.py +++ b/git/test/lib/__init__.py @@ -6,7 +6,6 @@ # flake8: noqa import inspect -from .asserts import * from .helper import * __all__ = [name for name, obj in locals().items() diff --git a/git/test/lib/asserts.py b/git/test/lib/asserts.py deleted file mode 100644 index 6c49a0c3..00000000 --- a/git/test/lib/asserts.py +++ /dev/null @@ -1,9 +0,0 @@ -# asserts.py -# Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors -# -# This module is part of GitPython and is released under -# the BSD License: http://www.opensource.org/licenses/bsd-license.php - -from unittest.mock import patch - -__all__ = ['patch'] -- cgit v1.2.3