46c2f6052db39ec8265dc2384e5c8732bffa0690,predict_postings_test.py,,,#,148

Before Change


                            msg=f"The list of suggested accounts should not be empty, but was found to be empty for transaction {transaction}.")


if __name__ == "__main__":
    unittest.main(buffer=True)

After Change


from predict_postings import PredictPostings

LOG_LEVEL = logging.DEBUG
logging.basicConfig(level=LOG_LEVEL)
logger = logging.getLogger(__name__)

// colorize the log output if the coloredlogs package is available
try:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 6

Instances


Project Name: beancount/smart_importer
Commit Name: 46c2f6052db39ec8265dc2384e5c8732bffa0690
Time: 2018-02-04
Author: johannesjh@users.noreply.github.com
File Name: predict_postings_test.py
Class Name:
Method Name:


Project Name: studioml/studio
Commit Name: c6a526f0966c0bd609904d5edc3d530bee4b21b7
Time: 2017-07-06
Author: peter.zhokhov@sentient.ai
File Name: studio/tests/remote_worker_test.py
Class Name:
Method Name:


Project Name: studioml/studio
Commit Name: 557b2d0574c4c592252a29d0a3db2598b0da74f6
Time: 2017-07-19
Author: peter.zhokhov@sentient.ai
File Name: studio/tests/queue_test.py
Class Name:
Method Name:


Project Name: studioml/studio
Commit Name: 1147d0a4c7a196b9a5aadb445542518df2f2fa02
Time: 2017-09-30
Author: peter.zhokhov@sentient.ai
File Name: studio/completion_service/completion_service_test.py
Class Name:
Method Name:


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: a8bc7c7d4023739aa3879495294af707f748a66e
Time: 2018-07-19
Author: molloyim@us.ibm.com
File Name: art/attacks/carlini_unittest.py
Class Name:
Method Name: