We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffc7593 commit 097f3abCopy full SHA for 097f3ab
pvlib/test/__init__.py
@@ -5,29 +5,35 @@
5
import platform
6
import pandas as pd
7
8
+
9
try:
10
import unittest2 as unittest
11
except ImportError:
12
import unittest
13
14
15
16
import scipy
17
has_scipy = True
18
19
has_scipy = False
20
21
22
def requires_scipy(test):
23
return test if has_scipy else unittest.skip('requires scipy')(test)
24
25
26
27
import ephem
28
has_ephem = True
29
30
has_ephem = False
31
32
33
def requires_ephem(test):
34
return test if has_ephem else unittest.skip('requires ephem')(test)
35
36
37
def incompatible_conda_linux_py3(test):
38
"""
39
Test won't work in Python 3.x due to Anaconda issue.
0 commit comments