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

Method make_uppercase

Lib/test/test_importlib/fixtures.py:120–128  ·  view source on GitHub ↗

Rewrite metadata with everything uppercase.

(self)

Source from the content-addressed store, hash-verified

118 build_files(DistInfoPkg.files, self.site_dir)
119
120 def make_uppercase(self):
121 """
122 Rewrite metadata with everything uppercase.
123 """
124 shutil.rmtree(self.site_dir / "distinfo_pkg-1.0.0.dist-info")
125 files = copy.deepcopy(DistInfoPkg.files)
126 info = files["distinfo_pkg-1.0.0.dist-info"]
127 info["METADATA"] = info["METADATA"].upper()
128 build_files(files, self.site_dir)
129
130
131class DistInfoPkgWithDot(OnSysPath, SiteDir):

Callers 1

test_as_json_odd_caseMethod · 0.45

Calls 1

upperMethod · 0.45

Tested by 1

test_as_json_odd_caseMethod · 0.36