Пример #1
0
 def test_print_inputerror(self):
     self.assertEqual(str(tools.InputError("Foo bar")), "'Foo bar'")
Пример #2
0
 def foo():
     raise tools.InputError("Foo bar")