Skip to content

Commit

Permalink
test_qsimulations: use assertEqual instead of assertEquals
Browse files Browse the repository at this point in the history
Signed-off-by: rbudai <[email protected]>
  • Loading branch information
rbudai98 committed Jul 8, 2024
1 parent 702f99c commit 7bbb25b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test_qsimulations.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ def test_5_qobj_hamiltonian_type_test(self):
def test_6_test_system_config(self):
self.testObj.set_system_size(2)
self.testObj.set_nr_of_ancillas(3)
self.assertEquals(self.testObj._nrAncillaDim, 8)
self.assertEquals(self.testObj._systemSizeDim, 4)
self.assertEquals(self.testObj._totalSystemSizeDim, 32)
self.assertEqual(self.testObj._nrAncillaDim, 8)
self.assertEqual(self.testObj._systemSizeDim, 4)
self.assertEqual(self.testObj._totalSystemSizeDim, 32)

def test_7_Pauli_arrays(self):
test_I = qsimulations.Pauli_array(qsimulations.I, 1, 1)
Expand Down

0 comments on commit 7bbb25b

Please sign in to comment.