Skip to content

Commit 39e7673

Browse files
committed
add aiohttp skip
1 parent 2aef261 commit 39e7673

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

tests/test_0066_fix_http_fallback_freeze.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# BSD 3-Clause License; see https://github.com/scikit-hep/uproot5/blob/main/LICENSE
22

3-
import numpy
43
import pytest
54

65
import uproot
76

87

98
@pytest.mark.network
109
def test():
10+
pytest.importorskip("aiohttp")
1111
with uproot.open(
1212
{"http://scikit-hep.org/uproot3/examples/HZZ.root": "events"}
1313
) as t:

tests/test_0088_read_with_http.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
@pytest.mark.network
1111
def test_issue176():
12+
pytest.importorskip("aiohttp")
13+
1214
with uproot.open(
1315
"https://starterkit.web.cern.ch/starterkit/data/advanced-python-2019/dalitzdata.root"
1416
) as f:
@@ -18,6 +20,8 @@ def test_issue176():
1820

1921
@pytest.mark.network
2022
def test_issue176_again():
23+
pytest.importorskip("aiohttp")
24+
2125
with uproot.open(
2226
"https://starterkit.web.cern.ch/starterkit/data/advanced-python-2019/dalitzdata.root"
2327
) as f:

tests/test_0173_empty_and_multiprocessing_bugs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# BSD 3-Clause License; see https://github.com/scikit-hep/uproot5/blob/main/LICENSE
22

33
import multiprocessing
4-
import sys
54

65
import pytest
76
import skhep_testdata

tests/test_0220_contiguous_byte_ranges_in_http.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
# BSD 3-Clause License; see https://github.com/scikit-hep/uproot5/blob/main/LICENSE
22

3-
import numpy
43
import pytest
54

65
import uproot
76

87

98
@pytest.mark.network
109
def test():
10+
pytest.importorskip("aiohttp")
11+
1112
with uproot.open(
1213
"https://starterkit.web.cern.ch/starterkit/data/advanced-python-2019/RD_distribution.root:tree"
1314
) as f:

tests/test_0302_pickle.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# BSD 3-Clause License; see https://github.com/scikit-hep/uproot5/blob/main/LICENSE
22

3-
import os
43
import pickle
5-
import sys
64

75
import pytest
86
import skhep_testdata
@@ -34,6 +32,8 @@ def test_pickle_roundtrip_mmap():
3432

3533
@pytest.mark.network
3634
def test_pickle_roundtrip_http():
35+
pytest.importorskip("aiohttp")
36+
3737
with uproot.open("https://scikit-hep.org/uproot3/examples/Zmumu.root") as f:
3838
pkl = pickle.dumps(f["events"])
3939

0 commit comments

Comments
 (0)