Skip to content

Commit

Permalink
fixes after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed May 10, 2024
1 parent 0e3a944 commit b14e530
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion asdf/_tests/test_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def _roundtrip(obj):
return buff.getvalue(), af["obj"]


def test_ordered_dict(with_lazy_tree):
def test_ordered_dict():
"""
Test that we can write out and read in ordered dicts.
"""
Expand Down
4 changes: 3 additions & 1 deletion asdf/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
__all__ = [
"AsdfConversionWarning",
"AsdfDeprecationWarning",
"AsdfLazyRefereneceError",
"AsdfLazyReferenceError",
"AsdfManifestURIMismatchWarning",
"AsdfPackageVersionWarning",
"AsdfProvisionalAPIWarning",
Expand Down Expand Up @@ -65,9 +65,11 @@ class AsdfManifestURIMismatchWarning(AsdfWarning):
contains a id that does not match the uri of the manifest.
"""


class AsdfLazyReferenceError(ReferenceError):
"""
Indicates that the lazy tree node failed to resolve a reference
to an AsdfFile instance. This likely means the AsdfFile was garbage
collected and you may need to update your code to keep the AsdfFile
in memory (by keeping a reference).
"""

0 comments on commit b14e530

Please sign in to comment.