Skip to content

Commit

Permalink
fixed return for one last function
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewAnnex committed Jun 11, 2018
1 parent 8c52517 commit ff9c1d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spiceypy/spiceypy.py
Original file line number Diff line number Diff line change
Expand Up @@ -1590,7 +1590,7 @@ def cvpool(agent):
agent = stypes.stringToCharP(agent)
update = ctypes.c_int()
libspice.cvpool_c(agent, ctypes.byref(update))
return update.value
return bool(update.value)


@spiceErrorCheck
Expand Down
4 changes: 2 additions & 2 deletions spiceypy/tests/test_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ def test_cvpool():
assert value[0] == 565.0
spice.clpool()
spice.kclear()
assert updated
assert updated is True


def test_cyllat():
Expand Down Expand Up @@ -7236,7 +7236,7 @@ def test_swpool():
assert value[0] == 555.0
spice.clpool()
spice.kclear()
assert updated
assert updated is True


def test_sxform():
Expand Down

0 comments on commit ff9c1d8

Please sign in to comment.