8e2d975972a3188d0a017bdc607c7c25b0bf9ac7,tests/python/pants_test/backend/python/test_pants_requirement.py,PantsRequirementTest,assert_pants_requirement,#,29
Before Change
) -> None:
self.add_to_build_file("3rdparty/python", f"{build_file_entry}\n")
target = self.request_single_product(
WrappedTarget, Address("3rdparty/python", target_name=expected_target_name)
).target
assert isinstance(target, PythonRequirementLibrary)
expected = PythonRequirement(
f"{expected_dist}=={pants_version()}", modules=[expected_module]
After Change
self.add_to_build_file("3rdparty/python", f"{build_file_entry}\n")
target = self.request_single_product(
WrappedTarget,
Params(
Address("3rdparty/python", target_name=expected_target_name),
create_options_bootstrapper(),
),
).target
assert isinstance(target, PythonRequirementLibrary)
expected = PythonRequirement(
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: pantsbuild/pants
Commit Name: 8e2d975972a3188d0a017bdc607c7c25b0bf9ac7
Time: 2020-08-07
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: tests/python/pants_test/backend/python/test_pants_requirement.py
Class Name: PantsRequirementTest
Method Name: assert_pants_requirement
Project Name: pantsbuild/pants
Commit Name: 8e2d975972a3188d0a017bdc607c7c25b0bf9ac7
Time: 2020-08-07
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: tests/python/pants_test/backend/python/test_python_requirement_list.py
Class Name: PythonRequirementListTest
Method Name: get_python_requirements
Project Name: pantsbuild/pants
Commit Name: 8e2d975972a3188d0a017bdc607c7c25b0bf9ac7
Time: 2020-08-07
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/typecheck/mypy/rules_integration_test.py
Class Name: MyPyIntegrationTest
Method Name: make_target_with_origin
Project Name: pantsbuild/pants
Commit Name: 8e2d975972a3188d0a017bdc607c7c25b0bf9ac7
Time: 2020-08-07
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/lint/pylint/rules_integration_test.py
Class Name: PylintIntegrationTest
Method Name: make_target