5b9f8bf8937019ff962952e55c7913de846e5a9d,cellprofiler/tests/test_cellprofiler.py,TestCellProfiler,test_01_03_version,#TestCellProfiler#,64

Before Change


            args = [sys.argv[0]]
        else:
            args = [sys.executable, "CellProfiler.py"]
        args.append("--version")
        output = subprocess.check_output(args)
        version = dict([tuple(line.strip().split(" "))
                        for line in output.split("\n")
                        if " " in line])

After Change


            args = [sys.argv[0], "--version"]
            output = subprocess.check_output(args)
        else:
            test_dir = os.path.dirname(__file__)
            cellprofiler_dir = os.path.dirname(test_dir)
            root_dir = os.path.dirname(cellprofiler_dir)
            self.assertTrue(os.path.isfile(os.path.join(
                root_dir, "CellProfiler.py")))
            args = [sys.executable, "CellProfiler.py", "--version"]
            output = subprocess.check_output(args, cwd=root_dir)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: CellProfiler/CellProfiler
Commit Name: 5b9f8bf8937019ff962952e55c7913de846e5a9d
Time: 2014-12-03
Author: leek@broadinstitute.org
File Name: cellprofiler/tests/test_cellprofiler.py
Class Name: TestCellProfiler
Method Name: test_01_03_version


Project Name: dPys/PyNets
Commit Name: 166bd6bf573e23a0350d37e3a24f439b4b3e31ea
Time: 2021-02-08
Author: dpisner@utexas.edu
File Name: pynets/stats/embeddings.py
Class Name:
Method Name: build_masetome


Project Name: CellProfiler/CellProfiler
Commit Name: 5b9f8bf8937019ff962952e55c7913de846e5a9d
Time: 2014-12-03
Author: leek@broadinstitute.org
File Name: cellprofiler/tests/test_cellprofiler.py
Class Name: TestCellProfiler
Method Name: test_01_03_version


Project Name: pyinstaller/pyinstaller
Commit Name: 59c22c531077e167154e09e87e688ddda20070c2
Time: 2015-09-09
Author: mzibr.public@gmail.com
File Name: PyInstaller/hooks/hook-enchant.py
Class Name:
Method Name: