← Back to team overview

dulwich-users team mailing list archive

Re: [PATCH] test_patch: fix tests on Python 2.6

 

+1, I have a similar fix in at least one of my branches.

On Sun, Nov 28, 2010 at 15:57, Augie Fackler <durin42@xxxxxxxxx> wrote:

> Change-Id: I5e51313d4ae3a65c3f00c665002a7489121bb0d6
>
> diff --git a/dulwich/tests/test_patch.py b/dulwich/tests/test_patch.py
> --- a/dulwich/tests/test_patch.py
> +++ b/dulwich/tests/test_patch.py
> @@ -158,7 +158,7 @@
>
>  """
>         c, diff, version = git_am_patch_split(StringIO(text))
> -        self.assertIs(None, version)
> +        self.assertEquals(None, version)
>
>
>  class DiffTests(TestCase):
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dulwich-users
> Post to     : dulwich-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dulwich-users
> More help   : https://help.launchpad.net/ListHelp
>

References