Skip to content

Commit fbe929d

Browse files
The database types CLOB, NCLOB, BFILE and BLOB no longer compare equal to
STRING and BINARY.
1 parent 5ad2408 commit fbe929d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/DbTypes.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ def __testCompare(self, dbType, apiType):
2323

2424
def testBfile(self):
2525
"test cx_Oracle.DB_TYPE_BFILE comparisons"
26-
self.__testCompare(cx_Oracle.DB_TYPE_BFILE, cx_Oracle.BINARY)
2726
self.assertEqual(cx_Oracle.DB_TYPE_BFILE, cx_Oracle.BFILE)
2827

2928
def testBinaryDouble(self):
@@ -44,7 +43,6 @@ def testBinaryInteger(self):
4443

4544
def testBlob(self):
4645
"test cx_Oracle.DB_TYPE_BLOB comparisons"
47-
self.__testCompare(cx_Oracle.DB_TYPE_BLOB, cx_Oracle.BINARY)
4846
self.assertEqual(cx_Oracle.DB_TYPE_BLOB, cx_Oracle.BLOB)
4947

5048
def testBoolean(self):
@@ -58,7 +56,6 @@ def testChar(self):
5856

5957
def testClob(self):
6058
"test cx_Oracle.DB_TYPE_CLOB comparisons"
61-
self.__testCompare(cx_Oracle.DB_TYPE_CLOB, cx_Oracle.STRING)
6259
self.assertEqual(cx_Oracle.DB_TYPE_CLOB, cx_Oracle.CLOB)
6360

6461
def testCursor(self):
@@ -90,7 +87,6 @@ def testNchar(self):
9087

9188
def testNclob(self):
9289
"test cx_Oracle.DB_TYPE_NCLOB comparisons"
93-
self.__testCompare(cx_Oracle.DB_TYPE_NCLOB, cx_Oracle.STRING)
9490
self.assertEqual(cx_Oracle.DB_TYPE_NCLOB, cx_Oracle.NCLOB)
9591

9692
def testNumber(self):

0 commit comments

Comments
 (0)