forked from VimPlug/jedi
Fix tests in Python 2
This commit is contained in:
@@ -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