Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AssertionError #9

Open
jsmlau opened this issue Apr 19, 2018 · 0 comments
Open

AssertionError #9

jsmlau opened this issue Apr 19, 2018 · 0 comments

Comments

@jsmlau
Copy link

jsmlau commented Apr 19, 2018


AssertionError Traceback (most recent call last)
in ()
13 # Run Tests
14 t = AnagramTest()
---> 15 t.test(anagram)

in test(self, sol)
4
5 def test(self,sol):
----> 6 assert_equal(sol('go go go','gggooo'),True)
7 assert_equal(sol('abc','cba'),True)
8 assert_equal(sol('hi man','hi man'),True)

/anaconda3/lib/python3.6/unittest/case.py in assertEqual(self, first, second, msg)
827 """
828 assertion_func = self._getAssertEqualityFunc(first, second)
--> 829 assertion_func(first, second, msg=msg)
830
831 def assertNotEqual(self, first, second, msg=None):

/anaconda3/lib/python3.6/unittest/case.py in _baseAssertEqual(self, first, second, msg)
820 standardMsg = '%s != %s' % _common_shorten_repr(first, second)
821 msg = self._formatMessage(msg, standardMsg)
--> 822 raise self.failureException(msg)
823
824 def assertEqual(self, first, second, msg=None):

AssertionError: False != True

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant