1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
From: Ole Streicher <olebole@debian.org>
Date: Wed, 27 Feb 2019 22:12:42 +0100
Subject: Remove test that requires the (non-)existence of an external
resource
https://github.com/spacetelescope/asdf/issues/651
---
asdf/tests/test_reference.py | 4 ----
1 file changed, 4 deletions(-)
diff --git a/asdf/tests/test_reference.py b/asdf/tests/test_reference.py
index 43b7d0f..2e269b5 100644
--- a/asdf/tests/test_reference.py
+++ b/asdf/tests/test_reference.py
@@ -156,10 +156,6 @@ def test_external_reference_invalid(tmpdir):
with pytest.raises(ValueError):
ff.resolve_references()
- ff = asdf.AsdfFile(tree, uri="http://nowhere.com/")
- with pytest.raises(IOError):
- ff.resolve_references()
-
ff = asdf.AsdfFile(tree, uri=util.filepath_to_url(
os.path.join(str(tmpdir), 'main.asdf')))
with pytest.raises(IOError):
|