1
0
forked from VimPlug/jedi

Disable more tests in Python2.6, because of set literals that don't exist there.

This commit is contained in:
Dave Halter
2017-09-03 02:01:43 +02:00
parent 957f2cedf4
commit ef89593896
4 changed files with 49 additions and 36 deletions

View File

@@ -366,8 +366,6 @@ tuple(a)[1]
#? int() str()
tuple(list(set(a)))[1]
#? int()
tuple({1})[0]
#? int()
tuple((1,))[0]
@@ -404,6 +402,12 @@ def test_func():
#? str()
x
# python >= 2.7
# Set literals are not valid in 2.6.
#? int()
tuple({1})[0]
# python >= 3.3
# -----------------
# PEP 3132 Extended Iterable Unpacking (star unpacking)