Change float test to double to resolve issues with Jython

This commit is contained in:
baztian
2020-06-03 21:48:04 +02:00
parent d8b96c510e
commit 78791871b0
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -71,8 +71,8 @@ class MockTest(unittest.TestCase):
result = cursor.fetchone()
self.assertEquals(str(result[0]), "1234.5")
def test_float_decimal(self):
self.conn.jconn.mockFloatDecimalResult(1234.5)
def test_double_decimal(self):
self.conn.jconn.mockDoubleDecimalResult(1234.5)
cursor = self.conn.cursor()
cursor.execute("dummy stmt")
result = cursor.fetchone()