(self)
| 2457 | self.assertTrue(parser.flag) |
| 2458 | |
| 2459 | def test_legacy_converters(self): |
| 2460 | block = self.parse('module os\nos.access\n path: "s"') |
| 2461 | module, function = block.signatures |
| 2462 | conv = (function.parameters['path']).converter |
| 2463 | self.assertIsInstance(conv, str_converter) |
| 2464 | |
| 2465 | def test_legacy_converters_non_string_constant_annotation(self): |
| 2466 | err = "Annotations must be either a name, a function call, or a string" |
nothing calls this directly
no test coverage detected