File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -4696,15 +4696,25 @@ def test_retrieve_mysql_json_integer(self):
4696
4696
test_values = [- 9223372036854775808 ]
4697
4697
expected_values = test_values
4698
4698
mysql_type = "INTEGER"
4699
- if PY2 :
4699
+ if PY2 and os . name == 'nt' :
4700
4700
expected_type = long
4701
4701
else :
4702
4702
expected_type = int
4703
4703
self .run_test_mysql_json_type (stm , test_values , expected_values ,
4704
4704
mysql_type , expected_type )
4705
4705
4706
- test_values = [92233720368547760 ,
4707
- 18446744073709551615 ]
4706
+ test_values = [92233720368547760 ]
4707
+ expected_values = test_values
4708
+ mysql_type = "UNSIGNED INTEGER"
4709
+ if PY2 and os .name == 'nt' :
4710
+ expected_type = long
4711
+ else :
4712
+ expected_type = int
4713
+ self .run_test_mysql_json_type (stm , test_values ,
4714
+ expected_values ,
4715
+ mysql_type , expected_type )
4716
+
4717
+ test_values = [18446744073709551615 ]
4708
4718
expected_values = test_values
4709
4719
mysql_type = "UNSIGNED INTEGER"
4710
4720
if PY2 :
You can’t perform that action at this time.
0 commit comments