Skip to content

Commit

Permalink
Reformatted test_move_zeroes file
Browse files Browse the repository at this point in the history
  • Loading branch information
mudassra-taskeen committed Jan 12, 2025
1 parent db9e3f0 commit 77f643a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions solutions/tests/test_move_zeroes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

"""
Unit tests for the moveZeroes function.
Test Categories:
Expand All @@ -19,6 +18,7 @@
import unittest
from ..move_zeroes import move_zeroes


class TestMoveZeroes(unittest.TestCase):
"""Test cases for moveZeroes function."""

Expand Down Expand Up @@ -72,7 +72,8 @@ def test_non_list_input(self):
def test_non_integer_elements(self):
"""It should raise AssertionError for non-integer elements in the list."""
with self.assertRaises(AssertionError):
move_zeroes([1, 'a', 0])
move_zeroes([1, "a", 0])


if __name__ == "__main__":
unittest.main()

0 comments on commit 77f643a

Please sign in to comment.