diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2017-01-01 05:59:21 +0100 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2017-01-01 05:59:21 +0100 |
commit | 600416aafc58ac6aaaa4aeb3629518c7c1f788e0 (patch) | |
tree | ec26c1bd75ac6c6b46a95c0742a14f5206699fcd /tests/test_sql.py | |
parent | c4a67fc1c125c541fef4f4f3f19504a784aec616 (diff) | |
download | psycopg2-600416aafc58ac6aaaa4aeb3629518c7c1f788e0.tar.gz |
Fixed sql stuff in Py3
Diffstat (limited to 'tests/test_sql.py')
-rwxr-xr-x | tests/test_sql.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test_sql.py b/tests/test_sql.py index 510b545..4d930cd 100755 --- a/tests/test_sql.py +++ b/tests/test_sql.py @@ -107,7 +107,6 @@ class IdentifierTests(ConnectingTestCase): def test_init(self): self.assert_(isinstance(sql.Identifier('foo'), sql.Identifier)) self.assert_(isinstance(sql.Identifier(u'foo'), sql.Identifier)) - self.assert_(isinstance(sql.Identifier(b'foo'), sql.Identifier)) self.assertRaises(TypeError, sql.Identifier, 10) self.assertRaises(TypeError, sql.Identifier, dt.date(2016, 12, 31)) @@ -155,7 +154,6 @@ class SQLTests(ConnectingTestCase): def test_init(self): self.assert_(isinstance(sql.SQL('foo'), sql.SQL)) self.assert_(isinstance(sql.SQL(u'foo'), sql.SQL)) - self.assert_(isinstance(sql.SQL(b'foo'), sql.SQL)) self.assertRaises(TypeError, sql.SQL, 10) self.assertRaises(TypeError, sql.SQL, dt.date(2016, 12, 31)) |