Skip to content

Commit

Permalink
fix: UT para
Browse files Browse the repository at this point in the history
  • Loading branch information
anyangml committed Nov 15, 2024
1 parent 48d8d6c commit 81bd024
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions source/tests/consistent/model/test_dos.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,10 @@
)


@parameterized(
(
[],
[[0, 1]],
),
(
[],
[1],
),
)

class TestDOS(CommonTest, ModelTest, unittest.TestCase):
@property
def data(self) -> dict:
pair_exclude_types, atom_exclude_types = self.param
return {
"type_map": ["H"],
"descriptor": {
Expand Down Expand Up @@ -95,10 +85,7 @@ def get_reference_backend(self):

@property
def skip_tf(self):
return (
self.data["pair_exclude_types"] != []
or self.data["atom_exclude_types"] != []
)
return False

@property
def skip_jax(self) -> bool:
Expand Down

0 comments on commit 81bd024

Please sign in to comment.