Skip to content

Commit

Permalink
Skip patch tests if C git is not available, update NEWS.
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmer committed Apr 2, 2019
1 parent ed644d1 commit b002391
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

* Add a basic ``porcelain.clean``. (Lane Barlow, #398)

* Fix output format of ``porcelain.diff`` to match that of
C Git. (Boris Feld)

0.19.11 2019-02-07

IMPROVEMENTS
Expand Down
1 change: 1 addition & 0 deletions dulwich/tests/compat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def test_suite():
names = [
'client',
'pack',
'patch',
'repository',
'server',
'utils',
Expand Down
6 changes: 2 additions & 4 deletions dulwich/tests/compat/test_patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,13 @@
from dulwich.repo import (
Repo,
)
from dulwich.tests import (
TestCase,
)
from dulwich.tests.compat.utils import (
CompatTestCase,
run_git_or_fail,
)


class CompatPatchTestCase(TestCase):
class CompatPatchTestCase(CompatTestCase):

def setUp(self):
super(CompatPatchTestCase, self).setUp()
Expand Down

0 comments on commit b002391

Please sign in to comment.