Skip to content

Commit

Permalink
tests/em_composition: Remove unused benchmark fixtures (#2783)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Vesely <[email protected]>
  • Loading branch information
jvesely authored Aug 21, 2023
1 parent 0daed25 commit 94af56d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/composition/test_emcomposition.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ class TestConstruction:
ids=[x[0] for x in test_structure_data]
)
@pytest.mark.parametrize('enable_learning', [False, True], ids=['no_learning','learning'])
@pytest.mark.benchmark
def test_structure(self,
test_num,
enable_learning,
Expand All @@ -121,8 +120,7 @@ def test_structure(self,
num_fields,
num_keys,
num_values,
concatenate_node,
benchmark):
concatenate_node):
"""Note: weight matrices used for memory are validated by using em.memory, since its getter uses those matrices
"""

Expand Down Expand Up @@ -349,7 +347,6 @@ class TestExecution:
ids=[x[0] for x in test_execution_data])
@pytest.mark.parametrize('enable_learning', [False, True], ids=['no_learning','learning'])
@pytest.mark.composition
@pytest.mark.benchmark
def test_simple_execution_without_learning(self,
comp_mode,
enable_learning,
Expand Down Expand Up @@ -437,10 +434,9 @@ def test_simple_execution_without_learning(self,


@pytest.mark.composition
@pytest.mark.benchmark
@pytest.mark.parametrize('concatenate', [True, False])
@pytest.mark.parametrize('use_storage_node', [True, False])
def test_multiple_trials_concatenation_and_storage_node_no_learning(self,comp_mode, concatenate, use_storage_node):
def test_multiple_trials_concatenation_and_storage_node_no_learning(self, comp_mode, concatenate, use_storage_node):

if comp_mode != pnl.ExecutionMode.Python:
pytest.skip('Compilation not yet support for Composition.import.')
Expand Down

0 comments on commit 94af56d

Please sign in to comment.