Skip to content

Commit 21ec9d7

Browse files
committed
Remove unsupport test case
1 parent 64022f0 commit 21ec9d7

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

pycovenantsql/tests/test_basic.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -268,11 +268,6 @@ def test_json(self):
268268
res = cur.fetchone()[0]
269269
self.assertEqual(json.loads(res), json.loads(json_str))
270270

271-
cur.execute("SELECT CAST(%s AS JSON) AS x", (json_str,))
272-
res = cur.fetchone()[0]
273-
self.assertEqual(json.loads(res), json.loads(json_str))
274-
275-
276271
class TestBulkInserts(base.PyCovenantSQLTestCase):
277272

278273
cursor_type = pycovenantsql.cursors.DictCursor

pycovenantsql/tests/test_connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def test_escape_builtin_encoders(self):
9191
cur = con.cursor()
9292

9393
val = datetime.datetime(2012, 3, 4, 5, 6)
94-
self.assertEqual(con.escape(val), "'2012-03-04 05:06:00'")
94+
self.assertEqual(con.escape(val), "'2012-03-04 05:06:00.000000'")
9595

9696
def test_escape_custom_object(self):
9797
con = self.connections[0]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
setup(
99
name="PyCovenantSQL",
10-
version="0.1.0",
10+
version="0.1.1",
1111
url='https://github.com/CovenantSQL/python-driver/',
1212
project_urls={
1313
"Documentation": "https://pycovenantsql.readthedocs.io/",

0 commit comments

Comments
 (0)