def check_lex(self, expected_output, actual_input): self.assertEqual(expected_output, str(list(edn_lex.lex(actual_input))))
def check_lex(self, lex_input, expected_output): lex_output = str(list(edn_lex.lex(lex_input))) self.assertEqual(expected_output, lex_output)