Skip to content

Commit

Permalink
fix conftests: resetting the transpose optim env var to avoid unexpec…
Browse files Browse the repository at this point in the history
…ted failures,
  • Loading branch information
YushaArif99 committed Oct 24, 2024
1 parent 2303be8 commit 2684765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def _clear_translated_directory(directory: str):
@pytest.fixture(autouse=True)
def run_around_tests():
ivy.unset_backend()

os.environ['DATA_FORMAT'] = 'channels_first' # resetting transpose optim env var
directory = "ivy_transpiled_outputs/"

# check if the directory exists and remove it
Expand Down

0 comments on commit 2684765

Please sign in to comment.