Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion adodbapi/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down
6 changes: 3 additions & 3 deletions adodbapi/test/dbapi20.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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))

Expand Down