Add python version check
In python 3.8 it calls __index__ when an int is called but in older versions it calls __int__ so a version check has been added to the test.
Please register or sign in to comment
In python 3.8 it calls __index__ when an int is called but in older versions it calls __int__ so a version check has been added to the test.