Skip to content

Commit 67ecdc8

Browse files
committed
Fix calling Binary() with string.
1 parent 4a6dde8 commit 67ecdc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/dbapi20.py

Lines 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)