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

Function assert_expected_dist

testing/build_system.py:33–36  ·  view source on GitHub ↗
(dist)

Source from the content-addressed store, hash-verified

31 # type: (...) -> None
32
33 def assert_expected_dist(dist):
34 # type: (Distribution) -> None
35 assert ProjectName(project_name) == dist.metadata.project_name
36 assert Version(version) == dist.metadata.version
37
38 sdist_dir = os.path.join(str(tmpdir), "sdist_dir")
39

Callers 1

assert_build_sdistFunction · 0.85

Calls 2

ProjectNameClass · 0.90
VersionClass · 0.90

Tested by

no test coverage detected