You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test which verifies the modules dict first checked if the length was
correctly set and then checked the contents. But by checking the contents it
also checks the length so that check is obsolete. Additional does the check of
two lists show explicitly which elements are different between the lists:
> assert stdin.modules['pep8'] == [pep8]
E assert [<module 'pep...8.py'>, False] == [<module
'pep8...ges/pep8.py'>]
E Left contains more items, first extra item: False
E Use -v to get the full diff
But the original implementation at least shows the content of the list:
> assert len(stdin.modules['pep8']) == 1
E assert 2 == 1
E + where 2 = len([<module 'pep8...8.py'>, False])
The text was updated successfully, but these errors were encountered:
In GitLab by @xZise on Jul 26, 2016, 04:54
Merges simplify-checks -> master
The test which verifies the modules dict first checked if the length was
correctly set and then checked the contents. But by checking the contents it
also checks the length so that check is obsolete. Additional does the check of
two lists show explicitly which elements are different between the lists:
But the original implementation at least shows the content of the list:
The text was updated successfully, but these errors were encountered: