(self)
| 419 | self.assertIsInstance(m, str) |
| 420 | |
| 421 | def test_mock_kwlist(self): |
| 422 | with mock.patch.object(keyword, "kwlist", new=["abcd"]): |
| 423 | self.assertEqual(self.com.matches(3, "abc", locals_={}), None) |
| 424 | |
| 425 | def test_mock_kwlist_non_ascii(self): |
| 426 | with mock.patch.object(keyword, "kwlist", new=["abcß"]): |