c92c34c42f2797556295ffeb4ec899cc033805e9,tests/python/pants_test/engine/test_scheduler.py,SchedulerTest,test_transitive_params,#SchedulerTest#,209

Before Change


    // Test that C can be provided and implicitly converted into a B with transitive_b_c() to satisfy
    // the selectors of consumes_a_and_b().
    a, c = A(), C()
    result_str, = self.scheduler.product_request(str, [Params(a, c)])
    self.assertEquals(remove_locations_from_traceback(result_str),
                      remove_locations_from_traceback(consumes_a_and_b(a, transitive_b_c(c))))

After Change


    // Test that C can be provided and implicitly converted into a B with transitive_b_c() to satisfy
    // the selectors of consumes_a_and_b().
    a, c = A(), C()
    result_str = self.request_single_product(str, Params(a, c))
    self.assertEquals(remove_locations_from_traceback(result_str),
                      remove_locations_from_traceback(consumes_a_and_b(a, transitive_b_c(c))))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: c92c34c42f2797556295ffeb4ec899cc033805e9
Time: 2019-11-25
Author: ericarellano@me.com
File Name: tests/python/pants_test/engine/test_scheduler.py
Class Name: SchedulerTest
Method Name: test_transitive_params


Project Name: pantsbuild/pants
Commit Name: c92c34c42f2797556295ffeb4ec899cc033805e9
Time: 2019-11-25
Author: ericarellano@me.com
File Name: tests/python/pants_test/engine/test_scheduler.py
Class Name: SchedulerTest
Method Name: test_union_rules


Project Name: pantsbuild/pants
Commit Name: c92c34c42f2797556295ffeb4ec899cc033805e9
Time: 2019-11-25
Author: ericarellano@me.com
File Name: tests/python/pants_test/engine/test_scheduler.py
Class Name: SchedulerWithNestedRaiseTest
Method Name: test_unhashable_failure


Project Name: pantsbuild/pants
Commit Name: c92c34c42f2797556295ffeb4ec899cc033805e9
Time: 2019-11-25
Author: ericarellano@me.com
File Name: tests/python/pants_test/engine/test_scheduler.py
Class Name: SchedulerTest
Method Name: test_use_params


Project Name: pantsbuild/pants
Commit Name: c92c34c42f2797556295ffeb4ec899cc033805e9
Time: 2019-11-25
Author: ericarellano@me.com
File Name: tests/python/pants_test/engine/test_scheduler.py
Class Name: SchedulerWithNestedRaiseTest
Method Name: test_get_type_match_failure


Project Name: pantsbuild/pants
Commit Name: c92c34c42f2797556295ffeb4ec899cc033805e9
Time: 2019-11-25
Author: ericarellano@me.com
File Name: tests/python/pants_test/engine/test_scheduler.py
Class Name: SchedulerTest
Method Name: test_union_rules_no_docstring


Project Name: pantsbuild/pants
Commit Name: c92c34c42f2797556295ffeb4ec899cc033805e9
Time: 2019-11-25
Author: ericarellano@me.com
File Name: src/python/pants/rules/core/strip_source_roots_test.py
Class Name: StripSourceRootsTests
Method Name: assert_stripped_source_file