mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-16 05:41:04 +00: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:
@@ -1,3 +1,4 @@
|
||||
import errno
|
||||
import os
|
||||
import time
|
||||
import mock
|
||||
@@ -64,7 +65,7 @@ def placeboify(request, monkeypatch):
|
||||
# make sure the directory for placebo test recordings is available
|
||||
os.makedirs(recordings_path)
|
||||
except OSError as e:
|
||||
if e.errno != os.errno.EEXIST:
|
||||
if e.errno != errno.EEXIST:
|
||||
raise
|
||||
|
||||
pill = placebo.attach(session, data_path=recordings_path)
|
||||
|
||||
Reference in New Issue
Block a user