<s> import unittest <EOL> from linty_fresh . linters import mypy <EOL> from linty_fresh . problem import Problem <EOL> class PyLintTest ( unittest . TestCase ) : <EOL> def test_empty_parse ( self ) : <EOL> self . assertEqual ( set ( ) , mypy . parse ( '<STR_LIT>' ) ) <EOL> def test_parse_errors ( self ) : <EOL> test_string = '''<STR_LIT>''' <EOL> result = mypy . parse ( test_string ) <EOL> self . assertEqual ( <NUM_LIT:2> , len ( result ) ) <EOL> self . assertIn ( Problem ( '<STR_LIT>' , <EOL> <NUM_LIT> , <EOL> '<STR_LIT>' ) , <EOL> result ) <EOL> self . assertIn ( Problem ( '<STR_LIT>' , <EOL> <NUM_LIT> , <EOL> '<STR_LIT>' ) , <EOL> result ) </s>
