9228ad83a3ecde2fb5a714d1eb43c7c1ee2e200b,src/python/pants/backend/python/lint/black/rules_integration_test.py,BlackIntegrationTest,make_target_with_origin,#,34
 
Before Change
    def make_target_with_origin(
        self, source_files: List[FileContent], *, origin: Optional[OriginSpec] = None,
    ) -> TargetAdaptorWithOrigin:
        input_snapshot = self.request_single_product(Snapshot, InputFilesContent(source_files))
        adaptor = TargetAdaptor(
            sources=EagerFilesetWithSpec("test", {"globs": []}, snapshot=input_snapshot),
            address=Address.parse("test:target"),
        )
        if origin is None:
After Change
    def make_target_with_origin(
        self, source_files: List[FileContent], *, origin: Optional[OriginSpec] = None,
    ) -> TargetWithOrigin:
        for source_file in source_files:
            self.create_file(f"{source_file.path}", source_file.content.decode())
        target = PythonLibrary({}, address=Address.parse(":target"))
        if origin is None:
            origin = SingleAddress(directory="", name="target")
        return TargetWithOrigin(target, origin)

In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 15
Instances
 Project Name: pantsbuild/pants
 Commit Name: 9228ad83a3ecde2fb5a714d1eb43c7c1ee2e200b
 Time: 2020-04-15
 Author: 14852634+Eric-Arellano@users.noreply.github.com
 File Name: src/python/pants/backend/python/lint/black/rules_integration_test.py
 Class Name: BlackIntegrationTest
 Method Name: make_target_with_origin
 Project Name: pantsbuild/pants
 Commit Name: 9228ad83a3ecde2fb5a714d1eb43c7c1ee2e200b
 Time: 2020-04-15
 Author: 14852634+Eric-Arellano@users.noreply.github.com
 File Name: src/python/pants/backend/python/lint/docformatter/rules_integration_test.py
 Class Name: DocformatterIntegrationTest
 Method Name: make_target_with_origin
 Project Name: pantsbuild/pants
 Commit Name: 9228ad83a3ecde2fb5a714d1eb43c7c1ee2e200b
 Time: 2020-04-15
 Author: 14852634+Eric-Arellano@users.noreply.github.com
 File Name: src/python/pants/backend/python/lint/flake8/rules_integration_test.py
 Class Name: Flake8IntegrationTest
 Method Name: make_target_with_origin
 Project Name: pantsbuild/pants
 Commit Name: 9228ad83a3ecde2fb5a714d1eb43c7c1ee2e200b
 Time: 2020-04-15
 Author: 14852634+Eric-Arellano@users.noreply.github.com
 File Name: src/python/pants/backend/python/lint/bandit/rules_integration_test.py
 Class Name: BanditIntegrationTest
 Method Name: make_target_with_origin
 Project Name: pantsbuild/pants
 Commit Name: 9228ad83a3ecde2fb5a714d1eb43c7c1ee2e200b
 Time: 2020-04-15
 Author: 14852634+Eric-Arellano@users.noreply.github.com
 File Name: src/python/pants/backend/python/lint/isort/rules_integration_test.py
 Class Name: IsortIntegrationTest
 Method Name: make_target_with_origin