ansible-test - Fix CParser import in yamllint.

pull/77074/head
Matt Clay 3 years ago
parent c27fd777f4
commit d286c2e8b3

@ -0,0 +1,2 @@
bugfixes:
- ansible-test - Import ``yaml.cyaml.CParser`` instead of ``_yaml.CParser`` in the ``yamllint`` sanity test.

@ -12,7 +12,7 @@ import yaml
from yaml.resolver import Resolver from yaml.resolver import Resolver
from yaml.constructor import SafeConstructor from yaml.constructor import SafeConstructor
from yaml.error import MarkedYAMLError from yaml.error import MarkedYAMLError
from _yaml import CParser # pylint: disable=no-name-in-module from yaml.cyaml import CParser
from yamllint import linter from yamllint import linter
from yamllint.config import YamlLintConfig from yamllint.config import YamlLintConfig

Loading…
Cancel
Save