Skip to content

Commit

Permalink
Merge pull request #1520 from kwmsmith/touchup-type-test
Browse files Browse the repository at this point in the history
Tweaks to fix python 2 test on windows
  • Loading branch information
kwmsmith committed Jun 8, 2016
2 parents b9e8f98 + e627671 commit 307f188
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion blaze/server/tests/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from toolz import pipe, partial

from blaze.dispatch import dispatch
from blaze.compatibility import _inttypes
from blaze.expr import Expr
from blaze.utils import example
from blaze import discover, symbol, by, CSV, compute, join, into, data
Expand Down Expand Up @@ -476,7 +477,8 @@ def test_apply_client_server(iris_server, serial):
assert 'OK' in response.status
respdata = serial.loads(response.data)
result = serial.data_loads(respdata['data'])
assert type(result) == type(compute(expr, {t: iris}, return_type=int))
assert isinstance(result, _inttypes)
assert isinstance(compute(expr, {t: iris}), _inttypes)


@pytest.mark.parametrize('serial', all_formats)
Expand Down

0 comments on commit 307f188

Please sign in to comment.