Skip to content

Commit

Permalink
fix skip testing. I am still confused why it doesn't work
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz committed Nov 7, 2024
1 parent 8bef185 commit 5e10621
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
7 changes: 3 additions & 4 deletions source/tests/jax/jax2tf/test_nlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@
dtype = tnp.float64


pytest.mark.skipif(
not DP_TEST_TF2_ONLY, reason="TF2 conflicts with TF1", allow_module_level=True
@pytest.mark.skipif(
not DP_TEST_TF2_ONLY,
reason="TF2 conflicts with TF1",
)


class TestNeighList(tf.test.TestCase):
def setUp(self):
self.nf = 3
Expand Down
8 changes: 4 additions & 4 deletions source/tests/jax/jax2tf/test_region.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
to_face_distance,
)

pytest.mark.skipif(
not DP_TEST_TF2_ONLY, reason="TF2 conflicts with TF1", allow_module_level=True
)


@pytest.mark.skipif(
not DP_TEST_TF2_ONLY,
reason="TF2 conflicts with TF1",
)
class TestRegion(tf.test.TestCase):
def setUp(self):
self.cell = tnp.array(
Expand Down

0 comments on commit 5e10621

Please sign in to comment.