|
@@ -234,8 +234,7 @@ diff --git a/dulwich/tests/test_patch.py b/dulwich/tests/test_patch.py
|
|
|
|
|
|
class DiffTests(TestCase):
|
|
class DiffTests(TestCase):
|
|
"""
|
|
"""
|
|
- text = (
|
|
|
|
- f"""\
|
|
|
|
|
|
+ text = f"""\
|
|
From dulwich-users-bounces+jelmer=samba.org@lists.launchpad.net \
|
|
From dulwich-users-bounces+jelmer=samba.org@lists.launchpad.net \
|
|
Mon Nov 29 00:58:18 2010
|
|
Mon Nov 29 00:58:18 2010
|
|
Date: Sun, 28 Nov 2010 17:57:27 -0600
|
|
Date: Sun, 28 Nov 2010 17:57:27 -0600
|
|
@@ -255,7 +254,6 @@ Unsubscribe : https://launchpad.net/~dulwich-users
|
|
More help : https://help.launchpad.net/ListHelp
|
|
More help : https://help.launchpad.net/ListHelp
|
|
|
|
|
|
"""
|
|
"""
|
|
- )
|
|
|
|
c, diff, version = git_am_patch_split(BytesIO(text))
|
|
c, diff, version = git_am_patch_split(BytesIO(text))
|
|
self.assertEqual(expected_diff, diff)
|
|
self.assertEqual(expected_diff, diff)
|
|
self.assertEqual(None, version)
|
|
self.assertEqual(None, version)
|