Skip to content

Commit 13ef2d6

Browse files
committed
add network decorator
1 parent f2d92b1 commit 13ef2d6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pvlib/test/test_tmy.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
import inspect
55
import os
66

7+
from pandas.util.testing import network
8+
79
test_dir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
810
tmy3_testfile = os.path.join(test_dir, '../data/703165TY.csv')
911
tmy2_testfile = os.path.join(test_dir, '../data/12839.tm2')
@@ -13,7 +15,8 @@
1315

1416
def test_readtmy3():
1517
tmy.readtmy3(tmy3_testfile)
16-
18+
19+
@network
1720
def test_readtmy3_remote():
1821
url = 'http://rredc.nrel.gov/solar/old_data/nsrdb/1991-2005/data/tmy3/703165TYA.CSV'
1922
tmy.readtmy3(url)

0 commit comments

Comments
 (0)