3027860bc8135542b6c8b928c74598baca7e0310,test/ParserTests.py,,,#,39

Before Change


        self.assertEqual(len(list(sents)), 50)
        self.assertEqual(len(sents[0].words), 13)        

if __name__ == "__main__":
    os.chdir("../")
    unittest.main()

After Change

import os, requests, sys, unittest

sys.path.insert(1, os.path.join(sys.path[0], ".."))
from ddlite_parser import *

class TestParsers(unittest.TestCase):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: snorkel-team/snorkel
Commit Name: 3027860bc8135542b6c8b928c74598baca7e0310
Time: 2016-04-02
Author: henry.ehrenberg@outlook.com
File Name: test/ParserTests.py
Class Name:
Method Name:


Project Name: rail-berkeley/softlearning
Commit Name: 85aea8b77a57afbb8d81a1235382b73bff6552be
Time: 2018-07-27
Author: kristian.hartikainen@gmail.com
File Name: examples/mujoco_all_sac_lsp_hierarchy.py
Class Name:
Method Name:


Project Name: Picovoice/porcupine
Commit Name: adbfc815b277264d4ae8dbf447a5bb767de48f00
Time: 2020-01-29
Author: alireza@picovoice.ai
File Name: binding/python/test_porcupine.py
Class Name:
Method Name: