6387414414ae171c038c5f59c2dbe2cb805b94c8,contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_thrift_gen_integration.py,GoThriftGenIntegrationTest,test_go_thrift_gen_simple,#GoThriftGenIntegrationTest#,19

Before Change


      with subsystem_instance(GoDistribution.Factory) as factory:
        go_dist = factory.create()
        go_dist.create_go_cmd("env", args=["GOOS"]).check_output().strip()
        go_dist.create_go_cmd("env", args=["GOARCH"]).check_output().strip()
        expected_files = {
          "src/go/thrifttest/duck/constants.go",
          "src/go/thrifttest/duck/ttypes.go",

After Change


        self.assertEqual(len(go_thrift_contents), 1)
        hash_dir = go_thrift_contents[0]

        target_dir = os.path.relpath(os.path.join(srcdir, "src/thrift/thrifttest/fleem"),
                                     get_buildroot())
        root = os.path.join(workdir, "gen", "go-thrift", hash_dir,
                            target_dir.replace(os.path.sep, "."), "current")

        self.assertEquals(sorted(["src/go/thrifttest/duck/constants.go",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pantsbuild/pants
Commit Name: 6387414414ae171c038c5f59c2dbe2cb805b94c8
Time: 2016-05-15
Author: john.sirois@gmail.com
File Name: contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_thrift_gen_integration.py
Class Name: GoThriftGenIntegrationTest
Method Name: test_go_thrift_gen_simple


Project Name: ilastik/ilastik
Commit Name: 97cf02913229a215db4b840b443876f21f38121f
Time: 2017-11-29
Author: fynn.beuttenmueller@iwr.uni-heidelberg.de
File Name: ilastik/applets/multicut/opMulticut.py
Class Name:
Method Name:


Project Name: deepchem/deepchem
Commit Name: fd3f643d7ccc44e3ec7e6e6b074ee2efe7f077db
Time: 2020-06-16
Author: peastman@stanford.edu
File Name: deepchem/dock/pose_generation.py
Class Name: VinaPoseGenerator
Method Name: __init__