Spaces Data

Minimal test - lines (25, 34)

path: .spaces[1].metrics.loc.cloc
old: 3.0
new: 4.0

path: .spaces[1].metrics.loc.sloc
old: 9.0
new: 10.0

path: .spaces[1].metrics.mi.mi_sei
old: 122.69939043302996
new: 122.76359096420164

path: .spaces[1].metrics.mi.mi_visual_studio
old: 64.57451960950223
new: 63.576367355901766

path: .spaces[1].metrics.mi.mi_original
old: 110.42242853224882
new: 108.71558817859204

Code

def test_no_warnings(module: str) -> None:
    # fmt: off
    subprocess.check_call((
        sys.executable,
        "-W", "error",
        # https://github.com/pytest-dev/pytest/issues/5901
        "-W", "ignore:The usage of `cmp` is deprecated and will be removed on or after 2021-06-01.  Please use `eq` and `order` instead.:DeprecationWarning",  # noqa: E501
        "-c", "__import__({!r})".format(module),
    ))
    # fmt: on