1
0
forked from VimPlug/jedi

Disable some more tests in Python 2

This commit is contained in:
Dave Halter
2019-06-07 02:45:48 +02:00
parent 94dfe7bf69
commit 65d5c6eb2b
2 changed files with 4 additions and 0 deletions

View File

@@ -219,6 +219,7 @@ def get_int_or_none(context):
def get_str_or_none(context):
return _get_safe_value_or_none(context, (bytes, unicode))
def is_number(context):
return _get_safe_value_or_none(context, (int, float)) is not None