diff options
author | Matt Martz <matt@sivel.net> | 2023-02-06 13:44:10 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-06 13:44:10 -0600 |
commit | 24519f3bd1b23bc89a968383f54a8b1fe708e3af (patch) | |
tree | 8b90a1515c1236c5e0cb57d9efea6e8294f67bd0 /docs | |
parent | 32672c63268e36f4b6125d3609c67275b6114045 (diff) | |
download | ansible-24519f3bd1b23bc89a968383f54a8b1fe708e3af.tar.gz |
Update example to always init ANOTHER_LIBRARY_IMPORT_ERROR (#79927)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/docsite/rst/dev_guide/testing/sanity/import.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/docsite/rst/dev_guide/testing/sanity/import.rst b/docs/docsite/rst/dev_guide/testing/sanity/import.rst index 118b3d97ed..6a5d329450 100644 --- a/docs/docsite/rst/dev_guide/testing/sanity/import.rst +++ b/docs/docsite/rst/dev_guide/testing/sanity/import.rst @@ -28,6 +28,7 @@ Instead of using ``import another_library``: ANOTHER_LIBRARY_IMPORT_ERROR = traceback.format_exc() else: HAS_ANOTHER_LIBRARY = True + ANOTHER_LIBRARY_IMPORT_ERROR = None .. note:: |