d3f35589dde513df73a7873067e70297f872b577,tests/unit_tests.py,ExhaustiveFullTextCase,runTest,#ExhaustiveFullTextCase#,78

Before Change



            correct_text = mock_resource_with(res_filename, "txt")
            // print("%s -- status: %s" % (url, a.text == correct_text))
            assert a.text == correct_text


class ArticleTestCase(unittest.TestCase):
    def runTest(self):

After Change


                traceback.print_exc()
                continue

            with open(os.path.join(TEXT_FN, res_filename + ".txt"), "w") as f:
                f.write(a.text)

            // correct_text = mock_resource_with(res_filename, "txt")
            // print("%s -- status: %s" % (url, a.text == correct_text))
            // assert a.text == correct_text


class ArticleTestCase(unittest.TestCase):
    def runTest(self):
        self.test_url()
        self.test_download_html()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: codelucas/newspaper
Commit Name: d3f35589dde513df73a7873067e70297f872b577
Time: 2015-01-04
Author: lucasyangpersonal@gmail.com
File Name: tests/unit_tests.py
Class Name: ExhaustiveFullTextCase
Method Name: runTest


Project Name: YerevaNN/mimic3-benchmarks
Commit Name: 7567cc646d258e40dde9790a28a9b264ccd494fb
Time: 2017-08-27
Author: harhro@gmail.com
File Name: mimic3models/split_train_val.py
Class Name:
Method Name:


Project Name: YerevaNN/mimic3-benchmarks
Commit Name: 5d353701dd56a1fc8abc15e4082e33b7bed2a241
Time: 2017-08-09
Author: harhro@gmail.com
File Name: mimic3models/split_train_val.py
Class Name:
Method Name: