← Back to team overview

dulwich-users team mailing list archive

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

 

On Sun, 2010-11-28 at 17:57 -0600, Augie Fackler 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):
Merged, thanks. I also have python2.6 here, but I suspect testtools'
TestCase provides assertIs.

Cheers,

Jelmer

Attachment: signature.asc
Description: This is a digitally signed message part


References