42991d723fad1d1b698e895969908105ca22f72c,rllib/tests/test_env_with_subprocess.py,,,#,60

Before Change


    assert not os.path.exists(UNIQUE_FILE_1), "atexit handler not called"
    assert not os.path.exists(UNIQUE_FILE_2), "close not called"
    assert not os.path.exists(UNIQUE_FILE_3), "close not called"
    print("OK")

After Change


    assert os.path.exists(tmp4)
    assert not leaked_processes()

    run_experiments({
        "demo": {
            "run": "PG",
            "env": "subproc",
            "num_samples": 1,
            "config": {
                "num_workers": 1,
                "env_config": {
                    "tmp_file1": tmp1,
                    "tmp_file2": tmp2,
                    "tmp_file3": tmp3,
                    "tmp_file4": tmp4,
                },
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: ray-project/ray
Commit Name: 42991d723fad1d1b698e895969908105ca22f72c
Time: 2020-05-01
Author: sven@anyscale.io
File Name: rllib/tests/test_env_with_subprocess.py
Class Name:
Method Name:


Project Name: ray-project/ray
Commit Name: 42991d723fad1d1b698e895969908105ca22f72c
Time: 2020-05-01
Author: sven@anyscale.io
File Name: rllib/tests/test_env_with_subprocess.py
Class Name:
Method Name:


Project Name: GoogleCloudPlatform/cloudml-samples
Commit Name: d51209696066200aa728831ab3b467cb9c38ae9f
Time: 2018-08-28
Author: dcavazos@google.com
File Name: molecules/data-extractor.py
Class Name:
Method Name:


Project Name: GoogleCloudPlatform/cloudml-samples
Commit Name: c6685e84a170e0bf6a099d49d29435d2feaa2a94
Time: 2018-08-29
Author: dcavazos@google.com
File Name: molecules/data-extractor.py
Class Name:
Method Name: