Skip to content

Commit

Permalink
Fix JSON test.
Browse files Browse the repository at this point in the history
  • Loading branch information
wmwv committed Feb 15, 2016
1 parent caabb2b commit 0d21d1a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/testJson.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import numpy as np

import lsst.pipe.base as pipeBase
from lsst.validate.drp.io import saveAmxToJson
from lsst.validate.drp.io import saveKpmToJson

ps = pipeBase.Struct(foo=2, bar=[10, 20], hard=np.array([5,10]))
tmpfile = 'tmp.json'

saveAmxToJson(ps, tmpfile)

saveKpmToJson(ps, tmpfile)

0 comments on commit 0d21d1a

Please sign in to comment.