class documentation

class TestWheelCompatibility: (source)

View In Hierarchy

Make sure the .dist-info directory produced with the ``dist_info`` command is the same as the one produced by ``bdist_wheel``.

Method test_dist_info_is_the_same_as_in_wheel Undocumented
Constant EGG_INFO_OPTS Undocumented
Constant SETUPCFG Undocumented
@pytest.mark.parametrize('name', """my-proj my_proj my.proj My.Proj""".split())
@pytest.mark.parametrize('version', ['0.42.13'])
@pytest.mark.parametrize('suffix, cfg', EGG_INFO_OPTS)
def test_dist_info_is_the_same_as_in_wheel(self, name, version, tmp_path, suffix, cfg): (source)

Undocumented

EGG_INFO_OPTS: list = (source)

Undocumented

Value
[('', ''),
 ('.post', '[egg_info]\ntag_build = post\n'),
 ('.post', '[egg_info]\ntag_build = .post\n'),
 ('.post', '[egg_info]\ntag_build = post\ntag_date = 1\n'),
 ('.dev', '[egg_info]\ntag_build = .dev\n'),
 ('.dev', '[egg_info]\ntag_build = .dev\ntag_date = 1\n'),
 ('a1', '[egg_info]\ntag_build = .a1\n'),
...
SETUPCFG = (source)

Undocumented

Value
DALS('''
    [metadata]
    name = {name}
    version = {version}

    [options]
    install_requires =
...