Skip to content

Commit b905d31

Browse files
committed
sunlight tests need synphot
1 parent 2d91db9 commit b905d31

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sbpy/surfaces/tests/test_scattered.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Licensed under a 3-clause BSD style license - see LICENSE.rst
22

3+
import pytest
34
import numpy as np
45
from astropy import units as u
56

@@ -24,6 +25,7 @@ def test_scattered_light():
2425

2526

2627
def test_scattered_sunlight():
28+
pytest.importorskip("synphot")
2729

2830
surface = LambertianSurfaceScatteredSunlight({"albedo": 0.1})
2931

0 commit comments

Comments
 (0)