Skip to content

Commit 2657084

Browse files
committed
fix math tests
1 parent 48f27cd commit 2657084

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/pydlspec2d.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ API
7777
.. automodapi:: pydl.pydlspec2d
7878

7979
.. automodapi:: pydl.pydlspec2d.spec1d
80-
:skip: warn, solve, Pydlspec2dException, Pydlspec2dUserWarning, FontProperties
80+
:skip: warn, solve, Pydlspec2dException, Pydlspec2dUserWarning, FontProperties, WCS, Time
8181

8282
.. automodapi:: pydl.pydlspec2d.spec2d
8383
:skip: warn, erf, get_pkg_data_filename, smooth, iterfit, djs_maskinterp, djs_median, sdss_flagval, traceset2xy, xy2traceset, vactoair

pydl/pydlutils/tests/test_math.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ def test_djs_median():
6363
# Exceptions
6464
#
6565
with pytest.raises(ValueError):
66-
_ = djs_median(data, width=5, boundary='nearest')
66+
_ = djs_median(data2, width=5, boundary='nearest')
6767
with pytest.raises(ValueError):
68-
_ = djs_median(data, width=5, boundary='wrap')
68+
_ = djs_median(data2, width=5, boundary='wrap')
6969
with pytest.raises(ValueError):
70-
_ = djs_median(data, width=5, boundary='foobar')
70+
_ = djs_median(data2, width=5, boundary='foobar')
7171
with pytest.raises(ValueError):
7272
_ = djs_median(data2, width=5, dimension=1)
7373
with pytest.raises(ValueError):

0 commit comments

Comments
 (0)