We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2d92b1 commit 13ef2d6Copy full SHA for 13ef2d6
pvlib/test/test_tmy.py
@@ -4,6 +4,8 @@
4
import inspect
5
import os
6
7
+from pandas.util.testing import network
8
+
9
test_dir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
10
tmy3_testfile = os.path.join(test_dir, '../data/703165TY.csv')
11
tmy2_testfile = os.path.join(test_dir, '../data/12839.tm2')
@@ -13,7 +15,8 @@
13
15
14
16
def test_readtmy3():
17
tmy.readtmy3(tmy3_testfile)
-
18
19
+@network
20
def test_readtmy3_remote():
21
url = 'http://rredc.nrel.gov/solar/old_data/nsrdb/1991-2005/data/tmy3/703165TYA.CSV'
22
tmy.readtmy3(url)
0 commit comments