View source on GitHub |
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)
)
Methods
all_test_data_keys
all_test_data_keys() -> List[str]
find_classes_that_should_serialize
find_classes_that_should_serialize() -> Set[Tuple[str, Type]]
get_all_names
get_all_names() -> Iterator[str]
get_resolver_cache_types
get_resolver_cache_types() -> Set[Tuple[str, Type]]
__eq__
__eq__(
other
)
Return self==value.