From 11d310dd372340270cc4b7a1a45e8868a623d640 Mon Sep 17 00:00:00 2001 From: Avasam Date: Wed, 10 Apr 2024 01:02:45 -0400 Subject: [PATCH 1/2] Merge single-line implicitly concatenated strings --- adodbapi/test/dbapi20.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/adodbapi/test/dbapi20.py b/adodbapi/test/dbapi20.py index a9da81b7b2..3c5fc268ff 100644 --- a/adodbapi/test/dbapi20.py +++ b/adodbapi/test/dbapi20.py @@ -453,12 +453,12 @@ def _paraminsert(self, cur): self.assertEqual( beers[0], "Cooper's", - "cursor.fetchall retrieved incorrect data, or data inserted " "incorrectly", + "cursor.fetchall retrieved incorrect data, or data inserted incorrectly", ) self.assertEqual( beers[1], "Victoria Bitter", - "cursor.fetchall retrieved incorrect data, or data inserted " "incorrectly", + "cursor.fetchall retrieved incorrect data, or data inserted incorrectly", ) trouble = "thi%s :may ca%(u)se? troub:1e" self.assertEqual( @@ -541,7 +541,7 @@ def test_fetchone(self): self.assertEqual( cur.fetchone(), None, - "cursor.fetchone should return None if a query retrieves " "no rows", + "cursor.fetchone should return None if a query retrieves no rows", ) self.assertTrue(cur.rowcount in (-1, 0)) From 4bd803b378f83c721398a19260f5ec2ccbde351d Mon Sep 17 00:00:00 2001 From: Avasam Date: Fri, 12 Apr 2024 18:35:34 -0400 Subject: [PATCH 2/2] sort imports --- adodbapi/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adodbapi/setup.py b/adodbapi/setup.py index 031ca01315..f6b274661d 100644 --- a/adodbapi/setup.py +++ b/adodbapi/setup.py @@ -41,8 +41,8 @@ def setup_package(): - from setuptools.command.build_py import build_py from setuptools import setup + from setuptools.command.build_py import build_py setup( cmdclass={"build_py": build_py},