6af8bc8142ec5575947b8f87dccdf629bc4c45b7,tests/python/pants_test/backend/python/test_pants_requirement.py,PantsRequirementTest,test_bad_dist,#PantsRequirementTest#,82

Before Change


        with self.assertRaises(AddressLookupError):
            // The pants_requirement should raise on the invalid dist name of pantsbuild.pantsish making
            // the target at 3rdparty/python/pants:jane fail to exist.
            self.target("3rdparty/python/pants:jane")

After Change


        )

    def test_bad_dist(self) -> None:
        with pytest.raises(ExecutionError):
            self.assert_pants_requirement(
                "pants_requirement(name="jane", dist="pantsbuild.pantsish")",
                expected_target_name="jane",
            )
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: 6af8bc8142ec5575947b8f87dccdf629bc4c45b7
Time: 2020-07-02
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: test_bad_dist


Project Name: pantsbuild/pants
Commit Name: 6af8bc8142ec5575947b8f87dccdf629bc4c45b7
Time: 2020-07-02
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: test_bad_list


Project Name: pantsbuild/pants
Commit Name: f6db0395707a25eec54d116f8f8155874251fde5
Time: 2015-09-17
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/backend/jvm/tasks/test_binary_create.py
Class Name: TestBinaryCreate
Method Name: test_jvm_binaries_products