MCPcopy Create free account
hub / github.com/python/cpython / test_as_json_odd_case

Method test_as_json_odd_case

Lib/test/test_importlib/metadata/test_api.py:274–279  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

272 assert len(md['classifier']) == 2
273
274 def test_as_json_odd_case(self):
275 self.make_uppercase()
276 md = metadata('distinfo-pkg').json
277 assert 'name' in md
278 assert len(md['requires_dist']) == 2
279 assert md['keywords'] == ['SAMPLE', 'PACKAGE']
280
281
282class LegacyDots(fixtures.DistInfoPkgWithDotLegacy, unittest.TestCase):

Callers

nothing calls this directly

Calls 2

metadataFunction · 0.90
make_uppercaseMethod · 0.80

Tested by

no test coverage detected