summaryrefslogtreecommitdiff
path: root/tests/test_numbits.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-10-10 08:01:25 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-10-10 08:01:25 -0400
commitb97aaf2bc2703ac55a3fc1e048729bea8434c18c (patch)
tree64ef7e083576334fbf099a35460f54b9c3acf4a5 /tests/test_numbits.py
parentb5ddfd9ad9978211006588934bc25e93d2ba8023 (diff)
downloadpython-coveragepy-git-b97aaf2bc2703ac55a3fc1e048729bea8434c18c.tar.gz
style: prefer explicit string concatenation
Diffstat (limited to 'tests/test_numbits.py')
-rw-r--r--tests/test_numbits.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/test_numbits.py b/tests/test_numbits.py
index 3f69b4de..f7032de7 100644
--- a/tests/test_numbits.py
+++ b/tests/test_numbits.py
@@ -115,9 +115,9 @@ class NumbitsSqliteFunctionTest(CoverageTest):
def test_numbits_union(self):
res = self.cursor.execute(
- "select numbits_union("
- "(select numbits from data where id = 7),"
- "(select numbits from data where id = 9)"
+ "select numbits_union(" +
+ "(select numbits from data where id = 7)," +
+ "(select numbits from data where id = 9)" +
")"
)
expected = [
@@ -129,9 +129,9 @@ class NumbitsSqliteFunctionTest(CoverageTest):
def test_numbits_intersection(self):
res = self.cursor.execute(
- "select numbits_intersection("
- "(select numbits from data where id = 7),"
- "(select numbits from data where id = 9)"
+ "select numbits_intersection(" +
+ "(select numbits from data where id = 7)," +
+ "(select numbits from data where id = 9)" +
")"
)
answer = numbits_to_nums(list(res)[0][0])