mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix ACI unit test on Python 3.7.0.
The previous logic was only needed for pre-release versions of 3.7.
This commit is contained in:
parent
ae4d5e3257
commit
c0bf9815c9
1 changed files with 0 additions and 2 deletions
|
@ -261,8 +261,6 @@ class AciRest(unittest.TestCase):
|
|||
error_text = to_native(u"Unable to parse output as XML, see 'raw' output. None (line 0)", errors='surrogate_or_strict')
|
||||
elif PY2:
|
||||
error_text = "Unable to parse output as XML, see 'raw' output. Document is empty, line 1, column 1 (line 1)"
|
||||
elif sys.version_info >= (3, 7):
|
||||
error_text = to_native(u"Unable to parse output as XML, see 'raw' output. None (line 0)", errors='surrogate_or_strict')
|
||||
else:
|
||||
error_text = "Unable to parse output as XML, see 'raw' output. Document is empty, line 1, column 1 (<string>, line 1)"
|
||||
|
||||
|
|
Loading…
Reference in a new issue