Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4a6dde8

Browse filesBrowse files
committed
Fix multiply by float.
1 parent 5a66f79 commit 4a6dde8
Copy full SHA for 4a6dde8

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎tests/capabilities.py

Copy file name to clipboardExpand all lines: tests/capabilities.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def test_truncation(self):
137137
columndefs = ( 'col1 INT', 'col2 VARCHAR(255)')
138138
def generator(row, col):
139139
if col == 0: return row
140-
else: return ('%i' % (row%10))*((255-self.rows/2)+row)
140+
else: return ('%i' % (row%10))*((255-self.rows//2)+row)
141141
self.create_table(columndefs)
142142
insert_statement = ('INSERT INTO %s VALUES (%s)' %
143143
(self.table,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.