mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-03 07:41:30 -07:00
Add Python 3.7 to CI unit test matrix. (#34680)
* Add Python 3.7 to CI unit test matrix. * Fix `os.errno` reference to be `errno`. * Update test_aci unit test for Python 3.7.
This commit is contained in:
parent
f2037bb629
commit
30093dc4ed
3 changed files with 5 additions and 1 deletions
|
@ -229,6 +229,8 @@ 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…
Add table
Add a link
Reference in a new issue