ad9f8480c8e08b95d6c217ec4a126bd93b7f376a,tests/python/pants_test/backend/jvm/targets/test_jvm_app.py,BundleTest,test_globs_relative_to_build_root,#BundleTest#,350
Before Change
bundle(relative_to="config", fileset=["a/b"])
]
)"""))
graph = self.context().scan(self.build_root)
globs = graph.get_target_from_spec("y:app").globs_relative_to_buildroot()
self.assertEquals(["a/b", "y/z/*"], sorted(globs["globs"]))
After Change
parse_context = self.create_parse_context("y")
globs = Globs(parse_context)
app = self.make_target("y:app",
JvmApp,
dependencies=[unused],
bundles=[
Bundle(parse_context, relative_to="config", fileset=globs("z/*")),
Bundle(parse_context, relative_to="config", fileset=["a/b"])
])
self.assertEquals(["a/b", "y/z/*"], sorted(app.globs_relative_to_buildroot()["globs"]))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: pantsbuild/pants
Commit Name: ad9f8480c8e08b95d6c217ec4a126bd93b7f376a
Time: 2015-08-31
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/backend/jvm/targets/test_jvm_app.py
Class Name: BundleTest
Method Name: test_globs_relative_to_build_root
Project Name: dmlc/dgl
Commit Name: cd484352064fc81e86ceb0ba2eb470e3aa8a72f3
Time: 2020-08-12
Author: coin2028@hotmail.com
File Name: python/dgl/transform.py
Class Name:
Method Name: to_simple
Project Name: tensorly/tensorly
Commit Name: d5e9eb8ee2987165648a1397e97198e2d20ff5b3
Time: 2020-08-28
Author: jean.kossaifi@gmail.com
File Name: tensorly/decomposition/symmetric_parafac.py
Class Name:
Method Name: symmetric_parafac_power_iteration