17 lines
721 B
Plaintext
17 lines
721 B
Plaintext
Index: test/lib/ansible_test/_internal/commands/units/__init__.py
|
|
--- test/lib/ansible_test/_internal/commands/units/__init__.py.orig
|
|
+++ test/lib/ansible_test/_internal/commands/units/__init__.py
|
|
@@ -253,9 +253,9 @@ def command_units(args): # type: (UnitsConfig) -> Non
|
|
if python.version == '2.6':
|
|
# same as --strict-markers in older versions of pytest which still support python 2.6
|
|
cmd.append('--strict')
|
|
- else:
|
|
- # added in pytest 4.5.0, which requires python 2.7+
|
|
- cmd.append('--strict-markers')
|
|
+ #else:
|
|
+ # # added in pytest 4.5.0, which requires python 2.7+
|
|
+ # cmd.append('--strict-markers')
|
|
|
|
plugins = []
|
|
|