Skip to content

Commit 9c9dc69

Browse files
isrgomeznmariz
authored andcommitted
fix failing unittest on x86 Win builds
1 parent dcbe4d8 commit 9c9dc69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3479,7 +3479,7 @@ def _test_5_query_attr_individual_send_simple_check(self, prepared=False):
34793479
res = cur.fetchall()
34803480
# Check that attribute values are correct
34813481
exp = my_value if isinstance(my_value, str) else repr(my_value)
3482-
if exp == "3.14" and isinstance(self.cnx, CMySQLConnection):
3482+
if CMySQLConnection and exp == "3.14" and isinstance(self.cnx, CMySQLConnection):
34833483
exp = '3.140000104904175'
34843484
self.assertIn(exp, res[0][0])
34853485
cur.clear_attributes()

0 commit comments

Comments
 (0)