File: Skip-test-that-requires-a-http-server.patch

package info (click to toggle)
python-asdf 5.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,976 kB
  • sloc: python: 24,019; makefile: 123
file content (20 lines) | stat: -rw-r--r-- 627 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Ole Streicher <olebole@debian.org>
Date: Fri, 27 Mar 2026 23:03:07 +0100
Subject: Skip test that requires a http server

---
 asdf/_tests/test_generic_io.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/asdf/_tests/test_generic_io.py b/asdf/_tests/test_generic_io.py
index 2a95189..250b0c1 100644
--- a/asdf/_tests/test_generic_io.py
+++ b/asdf/_tests/test_generic_io.py
@@ -236,6 +236,7 @@ def test_streams2():
     assert len(x) == 60
 
 
+@pytest.mark.skip(reason="requires http server which doesn't work in build")
 def test_urlopen(tree, httpserver):
     path = os.path.join(httpserver.tmpdir, "test.asdf")