4781aaa90daa86fb04862b677ee9906c09543515,src/python/pants/engine/internals/build_files_test.py,,test_parse_address_family_empty,#,43

Before Change



def test_parse_address_family_empty() -> None:
    Test that parsing an empty BUILD file results in an empty AddressFamily.
    address_mapper = AddressMapper(parser=Parser(SymbolTable({}), BuildFileAliases()))
    af = run_rule(
        parse_address_family,
        rule_args=[address_mapper, BuildFilePreludeSymbols(FrozenDict()), Dir("/dev/null")],

After Change


def test_parse_address_family_empty() -> None:
    Test that parsing an empty BUILD file results in an empty AddressFamily.
    address_mapper = AddressMapper(
        parser=Parser(target_type_aliases=[], object_aliases=BuildFileAliases())
    )
    af = run_rule(
        parse_address_family,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: 4781aaa90daa86fb04862b677ee9906c09543515
Time: 2020-08-04
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/engine/internals/build_files_test.py
Class Name:
Method Name: test_parse_address_family_empty


Project Name: pantsbuild/pants
Commit Name: 4781aaa90daa86fb04862b677ee9906c09543515
Time: 2020-08-04
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/engine/internals/parser_test.py
Class Name:
Method Name: test_unrecognized_symbol


Project Name: pantsbuild/pants
Commit Name: 4781aaa90daa86fb04862b677ee9906c09543515
Time: 2020-08-04
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/engine/internals/build_files_test.py
Class Name:
Method Name: resolve_addresses_with_origins_from_address_specs


Project Name: pantsbuild/pants
Commit Name: 4781aaa90daa86fb04862b677ee9906c09543515
Time: 2020-08-04
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/engine/internals/parser_test.py
Class Name:
Method Name: test_imports_banned


Project Name: pantsbuild/pants
Commit Name: 4781aaa90daa86fb04862b677ee9906c09543515
Time: 2020-08-04
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/engine/internals/mapper_test.py
Class Name:
Method Name: parse_address_map