Skip to content
Snippets Groups Projects

Include tests for conda packaging, fix bug in __array_ufunc__

Merged Matthew Bryan requested to merge bryan/empyre:conda_packaging into master

Links to LiberTEM issue https://github.com/LiberTEM/LiberTEM/issues/1271

Includes tests in the source tarball so that conda build can run them.

Also fixes a potential bug in array_ufunc:

Specifically when the out= kwarg to the ufunc was (None,) numpy was raising a TypeError. I've added a line which converts the single-entry (None,) to just None and now no problems (with the tests). [Mixed/mutil-array out= or single-array out will still remain as they are.]

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading