Skip to content

Commit 097f3ab

Browse files
committed
small whitespace change
1 parent ffc7593 commit 097f3ab

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pvlib/test/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,35 @@
55
import platform
66
import pandas as pd
77

8+
89
try:
910
import unittest2 as unittest
1011
except ImportError:
1112
import unittest
1213

14+
1315
try:
1416
import scipy
1517
has_scipy = True
1618
except ImportError:
1719
has_scipy = False
1820

21+
1922
def requires_scipy(test):
2023
return test if has_scipy else unittest.skip('requires scipy')(test)
2124

25+
2226
try:
2327
import ephem
2428
has_ephem = True
2529
except ImportError:
2630
has_ephem = False
2731

32+
2833
def requires_ephem(test):
2934
return test if has_ephem else unittest.skip('requires ephem')(test)
3035

36+
3137
def incompatible_conda_linux_py3(test):
3238
"""
3339
Test won't work in Python 3.x due to Anaconda issue.

0 commit comments

Comments
 (0)