diff options
Diffstat (limited to 'git/test/lib/helper.py')
-rw-r--r-- | git/test/lib/helper.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/git/test/lib/helper.py b/git/test/lib/helper.py index d7a4c436..9418a9f8 100644 --- a/git/test/lib/helper.py +++ b/git/test/lib/helper.py @@ -11,7 +11,6 @@ import gc import io import logging import os -import sys import tempfile import textwrap import time @@ -344,11 +343,6 @@ class TestBase(TestCase): of the project history ( to assure tests don't fail for others ). """ - # On py3, unittest has assertRaisesRegex - # On py27, we use unittest, which names it differently: - if sys.version_info[0:2] == (2, 7): - assertRaisesRegex = TestCase.assertRaisesRegexp - def _small_repo_url(self): """:return" a path to a small, clonable repository""" from git.cmd import Git |