fcc07614509c5776ffdbea23261746dde8d9f333,tests/test_utilities.py,,test_generate_predictions_console_bad_input_ext,#,500

Before Change


        sys.stdout = mystdout = StringIO()
        sys.stderr = mystderr = StringIO()
        gp.main(generate_cmd)
        mystdout.getvalue()
        err = mystderr.getvalue()
    finally:
        sys.stdout = old_stdout
        sys.stderr = old_stderr

After Change


        sys.stdout = mystdout = StringIO()
        sys.stderr = mystderr = StringIO()
        gp.main(generate_cmd)
        _ = mystdout.getvalue()
        err = mystderr.getvalue()
    finally:
        sys.stdout = old_stdout
        sys.stderr = old_stderr
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: EducationalTestingService/skll
Commit Name: fcc07614509c5776ffdbea23261746dde8d9f333
Time: 2019-03-15
Author: nmadnani@ets.org
File Name: tests/test_utilities.py
Class Name:
Method Name: test_generate_predictions_console_bad_input_ext


Project Name: explosion/thinc
Commit Name: 846fd74c1ce4907bd785273d257c0f2150d93be7
Time: 2020-01-09
Author: honnibal+gh@gmail.com
File Name: thinc/shims/pytorch.py
Class Name: PyTorchShim
Method Name: to_bytes


Project Name: IDSIA/sacred
Commit Name: bc9c0f3c1c5d976267ab5a99e0c165d825b452b1
Time: 2016-03-13
Author: qwlouse@gmail.com
File Name: sacred/run.py
Class Name: Run
Method Name: _emit_heatbeat


Project Name: senarvi/theanolm
Commit Name: 99db3605cb471e1eac744667e8318a163447ad6c
Time: 2017-11-01
Author: seppo.git@marjaniemi.com
File Name: tests/theanolm/lattice_test.py
Class Name: TestLattice
Method Name: test_slflattice


Project Name: tensorflow/datasets
Commit Name: c1d5d469f7107a5a395c7915c0eff1696ebda7bb
Time: 2020-05-15
Author: epot@google.com
File Name: tensorflow_datasets/testing/test_utils.py
Class Name: MockFs
Method Name: _open