Skip to content

Commit

Permalink
🎨 Added assertLessEqual to fix Python test under macOS (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
Drewniok authored Jul 9, 2023
1 parent 75e5990 commit d2831fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def test_perturber_and_DB_pair(self):
result = quicksim(cds, params)

self.assertEqual(result.algorithm_name, "QuickSim")
self.assertEqual(len(result.charge_distributions), 80)
self.assertLessEqual(len(result.charge_distributions), 80)

groundstate = result.charge_distributions[0]

Expand Down

0 comments on commit d2831fa

Please sign in to comment.