Skip to content

Commit

Permalink
Remove redundant set_backend.
Browse files Browse the repository at this point in the history
  • Loading branch information
hameerabbasi committed Jul 1, 2019
1 parent 604446a commit 0a9608d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions uarray/_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,7 @@ def inner(*args, **kwargs):
result = options.backend.__ua_function__(inner, a, kw)

if result is NotImplemented:
with set_backend(options.backend, only=True, coerce=options.coerce):
result = try_default(a, kw, options, errors)
result = try_default(a, kw, options, errors)

if result is not NotImplemented:
break
Expand Down

0 comments on commit 0a9608d

Please sign in to comment.