MCPcopy Index your code
hub / github.com/pex-tool/pex / test_script_encoding_default

Function test_script_encoding_default

tests/integration/test_script_metadata.py:294–310  ·  view source on GitHub ↗
(tmpdir)

Source from the content-addressed store, hash-verified

292
293
294def test_script_encoding_default(tmpdir):
295 # type: (Tempdir) -> None
296
297 script = tmpdir.join("incorrect-encoding-comment.py")
298 with open(script, "w") as fp:
299 fp.write(
300 dedent(
301 """
302 # Sigma: ∑
303 """
304 )
305 )
306 assert ScriptMetadataApplication(
307 scripts=(),
308 requirement_configuration=RequirementConfiguration(),
309 target_configuration=TargetConfiguration(),
310 )

Callers

nothing calls this directly

Calls 5

TargetConfigurationClass · 0.90
joinMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…