check_composite_rejects_bare_list¶
yohou.testing.check_composite_rejects_bare_list(compositor, descriptor, operate)
¶
Check a bare [estimator, ...] list (no names) is rejected.
Parameters ¶
| Name | Type | Description | Default |
|---|---|---|---|
compositor
|
BaseEstimator
|
A |
required |
descriptor
|
dict
|
Carries |
required |
operate
|
callable
|
Invoked with a freshly-built compositor to trigger validation. |
required |
Raises ¶
| Type | Description |
|---|---|
AssertionError
|
If the bare list is accepted instead of raising. |