Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fbe929d

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

File tree

Expand file treeCollapse file tree

1 file changed

+0
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-4
lines changed

‎test/DbTypes.py

Copy file name to clipboardExpand all lines: test/DbTypes.py
-4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.