Skip to content

Commit

Permalink
Merge pull request astropy#12858 from lpsinger/del-ufunc
Browse files Browse the repository at this point in the history
Fix incorrect test discovery due to np.arctan2 being left as a global
  • Loading branch information
pllim authored Feb 15, 2022
2 parents ef6c4b1 + 0e51083 commit cd730f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions astropy/units/quantity_helper/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,3 +432,5 @@ def helper_clip(f, unit1, unit2, unit3):
# Check for clip ufunc; note that np.clip is a wrapper function, not the ufunc.
if isinstance(getattr(np.core.umath, 'clip', None), np.ufunc):
UFUNC_HELPERS[np.core.umath.clip] = helper_clip

del ufunc

0 comments on commit cd730f9

Please sign in to comment.