diff options
Diffstat (limited to 'Lib/test/test_binop.py')
-rw-r--r-- | Lib/test/test_binop.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_binop.py b/Lib/test/test_binop.py index f1e654a..7eded9a 100644 --- a/Lib/test/test_binop.py +++ b/Lib/test/test_binop.py @@ -42,8 +42,8 @@ class Rat(object): if den == 0: raise ZeroDivisionError, "zero denominator" g = gcd(den, num) - self.__num = long(num/g) - self.__den = long(den/g) + self.__num = long(num//g) + self.__den = long(den//g) def _get_num(self): """Accessor function for read-only 'num' attribute of Rat.""" |