We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 551204e commit b13c998Copy full SHA for b13c998
test/SessionPool.py
@@ -68,8 +68,9 @@ def testPool(self):
68
self.assertEqual(pool.busy, 1, "busy not 1 after del")
69
pool.getmode = cx_Oracle.SPOOL_ATTRVAL_NOWAIT
70
self.assertEqual(pool.getmode, cx_Oracle.SPOOL_ATTRVAL_NOWAIT)
71
- pool.getmode = cx_Oracle.SPOOL_ATTRVAL_TIMEDWAIT
72
- self.assertEqual(pool.getmode, cx_Oracle.SPOOL_ATTRVAL_TIMEDWAIT)
+ if CLIENT_VERSION >= (12, 2):
+ pool.getmode = cx_Oracle.SPOOL_ATTRVAL_TIMEDWAIT
73
+ self.assertEqual(pool.getmode, cx_Oracle.SPOOL_ATTRVAL_TIMEDWAIT)
74
pool.stmtcachesize = 50
75
self.assertEqual(pool.stmtcachesize, 50)
76
pool.timeout = 10
0 commit comments