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": {
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

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: Hironsan/anago
Commit Name: b1ec0299de53bdc03870c39b00a1c88ff35cf0ea
Time: 2018-06-01
Author: hiroki.nakayama.py@gmail.com
File Name: examples/ner_glove.py
Class Name:
Method Name:


Project Name: chainer/chainercv
Commit Name: c767d4ad27e12b410b2a5d0c35dbf8650d83ddea
Time: 2018-05-22
Author: yuyuniitani@gmail.com
File Name: examples/pspnet/caffe2npz.py
Class Name:
Method Name: