1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #9224 from drawks/iss9223

Resolve #9223 Fix test for python 2.6
This commit is contained in:
Toshio Kuratomi 2014-10-01 11:54:44 -04:00
commit e6fcd90342

View file

@ -687,14 +687,8 @@ class TestUtils(unittest.TestCase):
) )
# invalid quote detection # invalid quote detection
try: self.assertRaises(Exception, split_args, 'hey I started a quote"')
with self.assertRaises(Exception): self.assertRaises(Exception, split_args, 'hey I started a\' quote')
split_args('hey I started a quote"')
with self.assertRaises(Exception):
split_args('hey I started a\' quote')
except TypeError:
# you must be on Python 2.6 still, FIXME
pass
# jinja2 loop blocks with lots of complexity # jinja2 loop blocks with lots of complexity
_test_combo( _test_combo(