>From 4e7ba5499d0944df734f4f52dea4adeb8025be96 Mon Sep 17 00:00:00 2001
From: Nicolas Boulenguez <nicolas@debian.org>
Date: Thu, 6 Nov 2025 21:30:03 +0100
Subject: [PATCH 1/7] style: Remove trailing whitespaces in test_deb822.py

---
 tests/test_deb822.py | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/tests/test_deb822.py b/tests/test_deb822.py
index 6a6e584..97623dd 100755
--- a/tests/test_deb822.py
+++ b/tests/test_deb822.py
@@ -143,7 +143,7 @@ Description: text-based mailreader supporting MIME, GPG, PGP and threading
 Tag: interface::text-mode, made-of::lang:c, mail::imap, mail::pop, mail::user-agent, protocol::imap, protocol::ipv6, protocol::pop, protocol::ssl, role::sw:client, uitoolkit::ncurses, use::editing, works-with::mail
 Task: mail-server
 '''
-        
+
 
 PARSED_PACKAGE = deb822.Deb822Dict([
     ('Package', 'mutt'),
@@ -841,7 +841,7 @@ with open("test_deb822.pickle", "wb") as fh:
                               cls: Type[deb822.Deb822],
                               **kwargs: Any) -> None:
         """Ensure iter_paragraphs consistency"""
-        
+
         with open(filename, 'rb') as fh:
             packages_content = fh.read()
 
@@ -968,7 +968,7 @@ with open("test_deb822.pickle", "wb") as fh:
 
         for k, v in deb822_.items():
             assert dict_[k] == v
-    
+
     def test_case_insensitive(self) -> None:
         # PARSED_PACKAGE is a deb822.Deb822Dict object, so we can test
         # it directly
@@ -998,7 +998,7 @@ with open("test_deb822.pickle", "wb") as fh:
         with a newline (e.g. the control file Description field), then there
         should be a space after the colon, as with non-multiline fields.
         """
-        
+
         # bad_re: match a line that starts with a "Field:", and ends in
         # whitespace
         bad_re = re.compile(r"^\S+:\s+$")
@@ -1010,7 +1010,7 @@ with open("test_deb822.pickle", "wb") as fh:
                                 "after the colon in a multiline field " \
                                 "starting with a newline"
 
-        
+
         control_paragraph = """Package: python-debian
 Architecture: all
 Depends: ${python:Depends}
@@ -1047,12 +1047,12 @@ Description: python modules to work with Debian-related data formats
         d['Foo'] = 'bar'
         d['Baz'] = ''
         d['Another-Key'] = 'another value'
-        
+
         # Previous versions would raise an exception here -- this makes the
         # test fail and gives useful information, so I won't try to wrap around
         # it.
         dumped = d.dump()
-        
+
         # May as well make sure the resulting string is what we want
         expected = "Foo: bar\nBaz:\nAnother-Key: another value\n"
         assert dumped == expected
-- 
2.47.3

