Skip to content

Commit a8d9867

Browse files
committed
Python 3 preparation: use parentheses in list comprehension.
Tool-generated patch.
1 parent 2eebc64 commit a8d9867

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/db_test_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ def testDateChange(self):
415415
# internally for storing NULL. The others would, too
416416
# because metakit tries to convert date.timestamp to an int
417417
# for storing and fails with an overflow.
418-
for d in [date.Date (x) for x in '2038', '1970', '0033', '9999']:
418+
for d in [date.Date (x) for x in ('2038', '1970', '0033', '9999')]:
419419
self.db.issue.set(nid, deadline=d)
420420
if commit: self.db.commit()
421421
c = self.db.issue.get(nid, "deadline")

0 commit comments

Comments
 (0)