mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-20 11:32:07 +08:00
Added travis notifications only on fail (#2091)
* Added travis notifications only on fail * fixup! Format Python code with psf/black push Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@ -67,7 +67,9 @@ class TestClass(unittest.TestCase):
|
||||
# profit = [10, 20, 30, 40, 50]
|
||||
# weight = [2, 4, 6, 8, 10, 12]
|
||||
# max_weight = 100
|
||||
self.assertRaisesRegex(IndexError, "The length of profit and weight must be same.")
|
||||
self.assertRaisesRegex(
|
||||
IndexError, "The length of profit and weight must be same."
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Reference in New Issue
Block a user