Skip to content

Commit

Permalink
fix errors in unit-tests for AlgorithmResult class
Browse files Browse the repository at this point in the history
  • Loading branch information
TolisChal committed Sep 26, 2024
1 parent 3bfe24b commit 39a758f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/test_algorithm_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

"""Test AlgorithmResult"""

import unittest

from test import QiskitAlgorithmsTestCase

from qiskit_optimization.algorithm_result import AlgorithmResult
Expand Down Expand Up @@ -63,3 +65,7 @@ def test_combine_with_self_does_nothing(self):
original_data = self.result1.data.copy()
self.result1.combine(self.result1)
self.assertEqual(self.result1.data, original_data)


if __name__ == "__main__":
unittest.main()
Empty file added test/utils/test_set_batching.py
Empty file.

0 comments on commit 39a758f

Please sign in to comment.