MCPcopy Index your code
hub / github.com/RustPython/RustPython / Spec

Class Spec

Lib/test/test_import/__init__.py:1245–1247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1243 def test_create_dynamic_null(self):
1244 with self.assertRaisesRegex(ValueError, 'embedded null character'):
1245 class Spec:
1246 name = "a\x00b"
1247 origin = "abc"
1248 _imp.create_dynamic(Spec())
1249
1250 with self.assertRaisesRegex(ValueError, 'embedded null character'):

Callers 2

parseMethod · 0.85

Calls

no outgoing calls

Tested by 1