aa1cbe8abc845e1a6acf2f237b4b00aa7c3f295d,python/ray/tests/test_metrics.py,,,#,380

Before Change


    assert profiling_stats is not None


if __name__ == "__main__":
    import pytest
    import sys
    sys.exit(pytest.main(["-v", __file__]))

After Change


// functions. We use it because memory table is updated every one second,
// and we need to have a way to verify if the test is running with a fresh
// new memory table.
prev_memory_table = MemoryTable([]).__dict__()["group"]


def test_memory_dashboard(shutdown_only):
    Test Memory table.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: ray-project/ray
Commit Name: aa1cbe8abc845e1a6acf2f237b4b00aa7c3f295d
Time: 2020-05-21
Author: rkooo567@gmail.com
File Name: python/ray/tests/test_metrics.py
Class Name:
Method Name:


Project Name: NervanaSystems/nlp-architect
Commit Name: 794bd558da80b65713b51a964ec61e7ef36d4bf2
Time: 2018-05-14
Author: peteriz@users.noreply.github.com
File Name: examples/intent_extraction/interactive.py
Class Name:
Method Name:


Project Name: ray-project/ray
Commit Name: cdca5af53b309c381b46bc565befb3873a1cfa31
Time: 2020-10-20
Author: mfitton@berkeley.edu
File Name: python/ray/tests/test_metrics.py
Class Name:
Method Name: