Why does this test fail?
import re
def test_Items():
    items = '''
    - item
    - item
    '''
    list_regex = re.compile(r"^- .*\n", re.MULTILINE)
    assert list_regex.match(items)
I'm having a hard time understanding the error message:
E       AssertionError: assert None
E        +  where None = <built-in method match of re.Pattern object at 0x7f8df4dbe240>('\
n    - item\n    - item\n    ')                                                          
E        +    where <built-in method match of re.Pattern object at 0x7f8df4dbe240> = re.co
mpile('^- .*\\n', re.MULTILINE).match                                                    
 
    