a99085861b8bbc3c13ea9616a442ad66341ad6fc,featuretools/tests/computational_backend/test_calculate_feature_matrix.py,TestCreateClientAndCluster,test_not_enough_memory,#TestCreateClientAndCluster#Any#,977
Before Change
def test_not_enough_memory (self, monkeypatch) :
total_memory = psutil.virtual_memory().total
monkeypatch.setitem(create_client_and_cluster.__globals__,
"LocalCluster" ,
mock_cluster)
monkeypatch.setitem(create_client_and_cluster.__globals__,
"Client" ,
MockClient)
with pytest.raises(ValueError, match="" ):
create_client_and_cluster(n_jobs=1 ,
num_tasks=5 ,
After Change
def test_not_enough_memory (self, monkeypatch) :
total_memory = psutil.virtual_memory().total
monkeypatch.setattr(utils, "get_client_cluster" ,
get_mock_client_cluster)
with pytest.raises(ValueError, match="" ):
create_client_and_cluster(n_jobs=1 ,
num_tasks=5 ,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances Project Name: Featuretools/featuretools
Commit Name: a99085861b8bbc3c13ea9616a442ad66341ad6fc
Time: 2019-07-08
Author: gvsheni@gmail.com
File Name: featuretools/tests/computational_backend/test_calculate_feature_matrix.py
Class Name: TestCreateClientAndCluster
Method Name: test_not_enough_memory
Project Name: Featuretools/featuretools
Commit Name: a99085861b8bbc3c13ea9616a442ad66341ad6fc
Time: 2019-07-08
Author: gvsheni@gmail.com
File Name: featuretools/tests/computational_backend/test_calculate_feature_matrix.py
Class Name: TestCreateClientAndCluster
Method Name: test_cluster_creation
Project Name: Featuretools/featuretools
Commit Name: a99085861b8bbc3c13ea9616a442ad66341ad6fc
Time: 2019-07-08
Author: gvsheni@gmail.com
File Name: featuretools/tests/computational_backend/test_calculate_feature_matrix.py
Class Name: TestCreateClientAndCluster
Method Name: test_not_enough_memory
Project Name: Featuretools/featuretools
Commit Name: a99085861b8bbc3c13ea9616a442ad66341ad6fc
Time: 2019-07-08
Author: gvsheni@gmail.com
File Name: featuretools/tests/computational_backend/test_calculate_feature_matrix.py
Class Name: TestCreateClientAndCluster
Method Name: test_user_cluster_as_string