8a213804d9bb74bca3ce7ce0052a71f86f7b41fc,setup.py,PyTest,finalize_options,#PyTest#,41

Before Change



    def finalize_options(self):
        TestCommand.finalize_options(self)
        self.test_args.clear()
        self.test_suite = True

    def run_tests(self):
        // import here, cause outside the eggs aren"t loaded

After Change



    def finalize_options(self):
        TestCommand.finalize_options(self)
        self.test_args[:] = []
        self.test_suite = True

    def run_tests(self):
        // import here, cause outside the eggs aren"t loaded
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: IDSIA/sacred
Commit Name: 8a213804d9bb74bca3ce7ce0052a71f86f7b41fc
Time: 2016-01-17
Author: qwlouse@gmail.com
File Name: setup.py
Class Name: PyTest
Method Name: finalize_options


Project Name: IDSIA/sacred
Commit Name: 18f233c6f2d8b7866d6d93fcaeb8256045b54913
Time: 2016-01-13
Author: qwlouse@gmail.com
File Name: setup.py
Class Name: PyTest
Method Name: finalize_options


Project Name: MorvanZhou/Reinforcement-learning-with-tensorflow
Commit Name: 11a884b264b7f511c3dcfe4f19dbbca0842da7ee
Time: 2017-08-13
Author: morvanzhou@gmail.com
File Name: contents/12_Proximal_Policy_Optimization/DPPO.py
Class Name: Worker
Method Name: work