Fix tests in Python 2
This commit is contained in:
1 parent
cd3d40a3b8
commit
d16355fcf2
2 files changed
+3
-1
No files matched your search
@@ -169,6 +169,8 @@ from datetime import datetime, timedelta
|
||||
# magic methods
|
||||
# -----------------
|
||||
|
||||
# python >= 3.5
|
||||
|
||||
class C:
|
||||
def __sub__(self, other) -> int: ...
|
||||
def __radd__(self, other) -> float: ...
|
||||
|
||||
Reference in new issue
Block a user