diff options
author | Trym Bremnes <trym.bremnes@gmail.com> | 2021-10-02 16:42:35 +0200 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2021-10-03 19:28:45 +0800 |
commit | ce4afe46d211cdfb611b8e8109bb0dc160a12540 (patch) | |
tree | c05060c7b2b125af158f3454ea2d9fb458fcc8dc /test/lib | |
parent | 53d94b8091b36847bb9e495c76bb5a3ec2a2fdb5 (diff) | |
download | gitpython-ce4afe46d211cdfb611b8e8109bb0dc160a12540.tar.gz |
Revert "Replace wildcard imports with concrete imports"
This reverts commit 53d94b8091b36847bb9e495c76bb5a3ec2a2fdb5.
The reason for the revert is that the commit in question introduced a
regression where certain modules, functions and classes that were
exposed before were no longer exposed.
See https://github.com/gitpython-developers/GitPython/pull/1352#issuecomment-932757204
for additional information.
Diffstat (limited to 'test/lib')
-rw-r--r-- | test/lib/__init__.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/lib/__init__.py b/test/lib/__init__.py index 3634df80..1551ce45 100644 --- a/test/lib/__init__.py +++ b/test/lib/__init__.py @@ -4,12 +4,9 @@ # This module is part of GitPython and is released under # the BSD License: http://www.opensource.org/licenses/bsd-license.php +# flake8: noqa import inspect - -from .helper import (GIT_DAEMON_PORT, SkipTest, StringProcessAdapter, TestBase, - TestCase, fixture, fixture_path, - with_rw_and_rw_remote_repo, with_rw_directory, - with_rw_repo) +from .helper import * __all__ = [name for name, obj in locals().items() if not (name.startswith('_') or inspect.ismodule(obj))] |