Projects STRLCPY criu Commits deef94ce
🤬
  • test: use yaml.safe_dump to avoid dump without tags

    safe_dump produces only standard YAML tags and
    cannot represent an arbitrary Python object.
    
    Reported-by: Mr Jenkins
    Signed-off-by: Andrei Vagin <[email protected]>
  • Loading...
  • Andrei Vagin committed 6 years ago
    deef94ce
    1 parent 565498a7
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■
    test/zdtm.py
    skipped 1725 lines
    1726 1726   details = {'output': output}
    1727 1727   tc.add_error_info(output = output)
    1728 1728   print(testline, file=self.__file_report)
    1729  - print("%s" % yaml.dump(details, explicit_start=True, explicit_end=True, default_style='|'), file=self.__file_report)
     1729 + print("%s" % yaml.safe_dump(details, explicit_start=True,
     1730 + explicit_end=True, default_style='|'), file=self.__file_report)
    1730 1731   if sub['log']:
    1731 1732   add_to_output(sub['log'])
    1732 1733   else:
    skipped 541 lines
Please wait...
Page is in error, reload to recover