Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3fabed commit 52f9369Copy full SHA for 52f9369
git/test/lib/helper.py
@@ -11,7 +11,6 @@
11
import io
12
import logging
13
import os
14
-import sys
15
import tempfile
16
import textwrap
17
import time
@@ -344,11 +343,6 @@ class TestBase(TestCase):
344
343
of the project history ( to assure tests don't fail for others ).
345
"""
346
347
- # On py3, unittest has assertRaisesRegex
348
- # On py27, we use unittest, which names it differently:
349
- if sys.version_info[0:2] == (2, 7):
350
- assertRaisesRegex = TestCase.assertRaisesRegexp
351
-
352
def _small_repo_url(self):
353
""":return" a path to a small, clonable repository"""
354
from git.cmd import Git
0 commit comments