mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-08-29 10:06:27 -05:00
* Enable PEP604 Ruff rules * Fix harcoded signature in test * Hack CLVMStreamable test with note to fast follow
21 lines
832 B
Python
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
|