Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TestIntArray.test_bad_values #38

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,7 @@

extras_require = setuptools_args['extras_require'] = {
'test': [
# TestIntArray.test_bad_values fails with numpy>=1.16.0
'numpy<1.16.0',

'numpy',
'pandas',
'xarray',
'pytest', # traitlets[test] require this
Expand Down
2 changes: 1 addition & 1 deletion traittypes/tests/test_traittypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


class IntArrayTrait(HasTraits):
value = Array().tag(dtype=np.int)
value = Array(dtype=np.int).tag(dtype=np.int)
Jamim marked this conversation as resolved.
Show resolved Hide resolved


class TestIntArray(TraitTestBase):
Expand Down