Skip to content

Commit

Permalink
fix(testing): set backend mode ti with_backend in the frontend config…
Browse files Browse the repository at this point in the history
… file
  • Loading branch information
sherry30 committed Oct 6, 2023
1 parent 92280e1 commit 5ec96c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ivy_tests/test_ivy/test_frontends/config/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ class FrontendConfigWithBackend(FrontendConfig):
backend_str = None

def __init__(self):
# Todo: add feature to set backend handler
self.backend = ivy.set_backend(self.backend_str)
self.backend = ivy.with_backend(self.backend_str)

@property
def Dtype(self):
Expand Down

0 comments on commit 5ec96c9

Please sign in to comment.