Skip to content

about_lists.py: test_creating_lists passes without intervention #3

@pavemina

Description

@pavemina

Since __ is defined as False, and len(empty_list) == 0 == False, this test passes with the second assertion left unfixed.

def test_creating_lists(self):
empty_list = []
assert list == type(empty_list)
assert __ == len(empty_list)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions