Skip to content

Commit

Permalink
skip tests when required packages are not available
Browse files Browse the repository at this point in the history
Change-Id: I0a88d92dd31ca3dd07a2a495f18c10a2ebf2fc9e
  • Loading branch information
lhutton1 committed Feb 16, 2022
1 parent 4ebb958 commit 0db7b03
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/python/contrib/test_ethosu/test_identity_optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@
Test the identity optimizer pass that removes redundant identity
operations from the microNPU codegen.
"""
import numpy as np
import pytest

pytest.importorskip("ethosu.vela")

import tensorflow as tf

import tvm
Expand Down

0 comments on commit 0db7b03

Please sign in to comment.