# Path: fastavro/schema.py
# FINGERPRINT_ALGORITHMS = _schema.FINGERPRINT_ALGORITHMS
# 
# Path: fastavro/_schema_common.py
# PRIMITIVES = {
#     "boolean",
#     "bytes",
#     "double",
#     "float",
#     "int",
#     "long",
#     "null",
#     "string",
# }


import pytest
from fastavro.schema import to_parsing_canonical_form
from fastavro._schema_common import PRIMITIVES


@pytest.mark.parametrize(
    "original_schema,canonical_form",
    (
        [(primitive, f'"{primitive}"') for primitive in PRIMITIVES]

# Path: fastavro/schema.py
# FINGERPRINT_ALGORITHMS = _schema.FINGERPRINT_ALGORITHMS
# 
# Path: fastavro/_schema_common.py
# PRIMITIVES = {
#     "boolean",
#     "bytes",
#     "double",
#     "float",
#     "int",
#     "long",
#     "null",
#     "string",
# }


# Path: tests/test_canonical_form.py
import pytest
from fastavro.schema import to_parsing_canonical_form
from fastavro._schema_common import PRIMITIVES



@pytest.mark.parametrize(
    "original_schema,canonical_form",
    (
        [(primitive, f'"{primitive}"') for primitive in PRIMITIVES]

        + [({"type": primitive}, f'"{primitive}"') for primitive in PRIMITIVES]