Skip to content

Commit 52f9369

Browse files
Harmon758Byron
authored andcommitted
Remove check for Python 2.7
1 parent d3fabed commit 52f9369

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

‎git/test/lib/helper.py‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
importio
1212
importlogging
1313
importos
14-
importsys
1514
importtempfile
1615
importtextwrap
1716
importtime
@@ -344,11 +343,6 @@ class TestBase(TestCase):
344343
of the project history ( to assure tests don't fail for others ).
345344
"""
346345

347-
# On py3, unittest has assertRaisesRegex
348-
# On py27, we use unittest, which names it differently:
349-
ifsys.version_info[0:2] == (2, 7):
350-
assertRaisesRegex=TestCase.assertRaisesRegexp
351-
352346
def_small_repo_url(self):
353347
""":return" a path to a small, clonable repository"""
354348
fromgit.cmdimportGit

0 commit comments

Comments
(0)