Skip to content

Commit

Permalink
Fix incorrect argument passed to test function
Browse files Browse the repository at this point in the history
This fixes the incorrect `dict` being passed as an argument to the
test function `test_controlled_pqc_simple_learn`, reported in issue
#849.
  • Loading branch information
mhucka committed Jan 19, 2025
1 parent 452a212 commit 203026f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def test_controlled_pqc_symbols_property(self):
sample_based=False)
self.assertEqual(layer.symbols, [a, b, c, d])

@parameterized.parameters([{'sample_based': True, 'sample_based': False}])
@parameterized.parameters([{'sample_based': True}, {'sample_based': False}])
def test_controlled_pqc_simple_learn(self, sample_based):
"""Test a simple learning scenario using analytic and sample expectation
on many backends."""
Expand Down

0 comments on commit 203026f

Please sign in to comment.