09c832a4607dfb80f3917ab6f65ce43513141675,tests/test_dist.py,,,#,14
Before Change
DISTRIBUTIONS = tuple(
attr for attr in (getattr(collection, name) for name in dir(collection))
if isclass(attr) and issubclass(attr, cp.Dist)
)
After Change
DISTRIBUTIONS = ()
for name in dir(collection):
attr = getattr(collection, name)
if isclass(attr) and issubclass(attr, cp.Dist):
with suppress(TypeError):
attr()
DISTRIBUTIONS = DISTRIBUTIONS + (attr,)
@pytest.fixture(params=DISTRIBUTIONS)
def distribution(request):
return request.param
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: jonathf/chaospy
Commit Name: 09c832a4607dfb80f3917ab6f65ce43513141675
Time: 2018-12-14
Author: jonathf@gmail.com
File Name: tests/test_dist.py
Class Name:
Method Name:
Project Name: eth-cscs/reframe
Commit Name: c323ba31063d782f2beaa4fb66a4943c19018936
Time: 2019-11-20
Author: manitaras@cscs.ch
File Name: reframe/core/schedulers/slurm.py
Class Name: SlurmJob
Method Name: get_all_nodes
Project Name: has2k1/plotnine
Commit Name: db31f8b4639b478cd77660d682bb0c27364aa3f1
Time: 2017-09-29
Author: has2k1@gmail.com
File Name: plotnine/qplot.py
Class Name:
Method Name: qplot