Fishdom assertion failed fix1/28/2024 ![]() ![]() > assert sum(l) = add( *) E assert 6 = 22 E + where 6 = sum(range(0, 4)) E + and 22 =. The assertion is something added to the code for debugging purposes by the developer and is not something that you can diagnose without the code. ![]() $ pytest p.py = test session starts = platform darwin - Python 3.6.2, pytest-3.10.0, py-1.7.0, pluggy-0.8.0 rootdir: /Users/enojb/current/sympy/sympy, inifile: plugins: faulthandler-1.5.0 collected 1 item p.py F = FAILURES = _ test_add _ def test_add(): add = lambda *t: sum(t) l = range(8) e = iter(l)
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |