summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git/index/__init__.py2
-rw-r--r--git/objects/__init__.py2
-rw-r--r--git/refs/__init__.py1
-rw-r--r--git/repo/__init__.py1
-rw-r--r--test/lib/helper.py2
-rw-r--r--test/performance/test_commit.py1
-rw-r--r--test/performance/test_odb.py2
-rw-r--r--test/performance/test_streams.py2
-rw-r--r--test/test_commit.py2
9 files changed, 0 insertions, 15 deletions
diff --git a/git/index/__init__.py b/git/index/__init__.py
index 2516f01f..96b721f0 100644
--- a/git/index/__init__.py
+++ b/git/index/__init__.py
@@ -1,6 +1,4 @@
"""Initialize the index package"""
# flake8: noqa
-from __future__ import absolute_import
-
from .base import *
from .typ import *
diff --git a/git/objects/__init__.py b/git/objects/__init__.py
index 897eb98f..1d0bb7a5 100644
--- a/git/objects/__init__.py
+++ b/git/objects/__init__.py
@@ -2,8 +2,6 @@
Import all submodules main classes into the package space
"""
# flake8: noqa
-from __future__ import absolute_import
-
import inspect
from .base import *
diff --git a/git/refs/__init__.py b/git/refs/__init__.py
index ded8b1f7..1486dffe 100644
--- a/git/refs/__init__.py
+++ b/git/refs/__init__.py
@@ -1,5 +1,4 @@
# flake8: noqa
-from __future__ import absolute_import
# import all modules in order, fix the names they require
from .symbolic import *
from .reference import *
diff --git a/git/repo/__init__.py b/git/repo/__init__.py
index 5619aa69..712df60d 100644
--- a/git/repo/__init__.py
+++ b/git/repo/__init__.py
@@ -1,4 +1,3 @@
"""Initialize the Repo package"""
# flake8: noqa
-from __future__ import absolute_import
from .base import *
diff --git a/test/lib/helper.py b/test/lib/helper.py
index 5dde7b04..632d6af9 100644
--- a/test/lib/helper.py
+++ b/test/lib/helper.py
@@ -3,8 +3,6 @@
#
# This module is part of GitPython and is released under
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
-from __future__ import print_function
-
import contextlib
from functools import wraps
import gc
diff --git a/test/performance/test_commit.py b/test/performance/test_commit.py
index 4617b052..8158a1e6 100644
--- a/test/performance/test_commit.py
+++ b/test/performance/test_commit.py
@@ -3,7 +3,6 @@
#
# This module is part of GitPython and is released under
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
-from __future__ import print_function
from io import BytesIO
from time import time
import sys
diff --git a/test/performance/test_odb.py b/test/performance/test_odb.py
index 8bd614f2..c9521c56 100644
--- a/test/performance/test_odb.py
+++ b/test/performance/test_odb.py
@@ -1,6 +1,4 @@
"""Performance tests for object store"""
-from __future__ import print_function
-
import sys
from time import time
diff --git a/test/performance/test_streams.py b/test/performance/test_streams.py
index edf32c91..28e6b13e 100644
--- a/test/performance/test_streams.py
+++ b/test/performance/test_streams.py
@@ -1,6 +1,4 @@
"""Performance data streaming performance"""
-from __future__ import print_function
-
import os
import subprocess
import sys
diff --git a/test/test_commit.py b/test/test_commit.py
index 670068e5..67dc7d73 100644
--- a/test/test_commit.py
+++ b/test/test_commit.py
@@ -4,8 +4,6 @@
#
# This module is part of GitPython and is released under
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
-from __future__ import print_function
-
from datetime import datetime
from io import BytesIO
import re