Files
chia-blockchain/chia/_tests/ether.py
Matt HauffandGitHub 40db4635a8 [LABS-245] Enable PEP604 Ruff rules (#20269)
* Enable PEP604 Ruff rules

* Fix harcoded signature in test

* Hack CLVMStreamable test with note to fast follow
2025-11-18 12:34:00 -08:00

21 lines
832 B
Python

from __future__ import annotations
from collections.abc import Callable
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from chia._tests.util.misc import TestId
# NOTE: Do not just put any useful thing here. This is specifically for making
# fixture values globally available during tests. In _most_ cases fixtures
# should be directly requested using normal mechanisms. Very little should
# be put here.
# NOTE: When using this module do not import the attributes directly. Rather, import
# something like `from chia._tests import ether`. Importing attributes directly will
# result in you likely getting the default `None` values since they are not
# populated until tests are running.
record_property: Callable[[str, object], None] | None = None
test_id: TestId | None = None