cirq.testing.json.ModuleJsonTestSpec(
name: str,
packages: List[ModuleType],
test_data_path: pathlib.Path,
not_yet_serializable: List[str],
should_not_be_serialized: List[str],
resolver_cache: Dict[str, cirq.testing.json.ObjectFactory
],
deprecated: Dict[str, str],
custom_class_name_to_cirq_type: Dict[str, str] = dataclasses.field(default_factory=dict),
tested_elsewhere: List[str] = dataclasses.field(default_factory=list)
)
Attributes |
name
|
Dataclass field
|
packages
|
Dataclass field
|
test_data_path
|
Dataclass field
|
not_yet_serializable
|
Dataclass field
|
should_not_be_serialized
|
Dataclass field
|
resolver_cache
|
Dataclass field
|
deprecated
|
Dataclass field
|
custom_class_name_to_cirq_type
|
Dataclass field
|
tested_elsewhere
|
Dataclass field
|
Methods
all_test_data_keys
View source
all_test_data_keys() -> List[str]
find_classes_that_should_serialize
View source
find_classes_that_should_serialize() -> Set[Tuple[str, Type]]
get_all_names
View source
get_all_names() -> Iterator[str]
get_resolver_cache_types
View source
get_resolver_cache_types()
__eq__
__eq__(
other
)