1 Upstream commit fixing testcases for fish>=3.1, see
2 https://github.com/kislyuk/argcomplete/commit/08bfc8a788e8081515d733e67be026d051c726f7
4 diff --git a/test/test.py b/test/test.py
5 index e91352b..2c34806 100755
10 BASH_VERSION = subprocess.check_output(['bash', '-c', 'echo $BASH_VERSION']).decode()
11 BASH_MAJOR_VERSION = int(BASH_VERSION.split('.')[0])
12 +FISH_VERSION_STR = subprocess.check_output(['fish', '-c', 'echo -n $FISH_VERSION']).decode()
13 +FISH_VERSION_TUPLE = tuple(int(x) for x in FISH_VERSION_STR.split('.'))
16 class TempDir(object):
17 @@ -1258,8 +1260,11 @@ class TestFish(_TestSh, unittest.TestCase):
19 'test_parse_special_characters',
21 - 'test_special_characters_double_quoted'
23 + if FISH_VERSION_TUPLE < (3, 1):
24 + expected_failures.extend([
25 + 'test_special_characters_double_quoted'
29 'test_single_quotes_in_single_quotes',