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 67ecdc8

Browse filesBrowse files
committed
Fix calling Binary() with string.
1 parent 4a6dde8 commit 67ecdc8
Copy full SHA for 67ecdc8

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+2
-2
lines changed

‎tests/dbapi20.py

Copy file name to clipboardExpand all lines: tests/dbapi20.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -823,8 +823,8 @@ def test_Timestamp(self):
823823
# self.assertEqual(str(t1),str(t2))
824824

825825
def test_Binary(self):
826-
b = self.driver.Binary('Something')
827-
b = self.driver.Binary('')
826+
b = self.driver.Binary(b'Something')
827+
b = self.driver.Binary(b'')
828828

829829
def test_STRING(self):
830830
self.assertTrue(hasattr(self.driver,'STRING'),

0 commit comments

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