inline-snapshot 0.35.1__tar.gz → 0.35.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/CHANGELOG.md +23 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/PKG-INFO +1 -1
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_customize/_builder.py +11 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_customize/_custom_sequence.py +25 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_new_adapter.py +34 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_snapshot/undecided_value.py +14 -1
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_snapshot_session.py +5 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/plugin/_default_plugin.py +1 -22
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/testing/_example.py +3 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/version.py +1 -1
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_code_repr.py +118 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_pytest_plugin.py +3 -1
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/.github/FUNDING.yml +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/.github/actions/setup/action.yml +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/.github/copilot-instructions.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/.github/pull_request_template.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/.github/workflows/ci.yml +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/.github/workflows/cog.yml +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/.github/workflows/deploy_development_docs.yml +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/.github/workflows/docs.yml +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/.github/workflows/test_docs.yml +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/.gitignore +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/.inline-snapshot/external/.gitignore +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/.inline-snapshot/external/ef2d127de37b942baad06145e54b0c619a1f22327b2ebbcfbec78f5564afe39d.json +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/.inline-snapshot/files_using_external.txt +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/.pre-commit-config.yaml +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/AGENTS.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/CONTRIBUTING.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/LICENSE +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/MANIFEST.in +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/README.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/changelog.d/.gitkeep +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/conftest.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/alternatives.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/assets/code_generation/string-update.rich.svg +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/assets/create_fix.mp4 +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/assets/favicon.png +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/assets/favicon.svg +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/assets/introduction/show-error.rich.svg +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/assets/introduction/simple-example-changed.rich.svg +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/assets/introduction/simple-example.rich.svg +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/assets/logo.svg +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/assets/logo_orig.svg +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/assets/pycharm_run.mp4 +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/assets/pytest/create-fix-trim-update.rich.svg +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/assets/pytest/report.rich.svg +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/assets/pytest/review.rich.svg +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/assets/pytest/short-report.rich.svg +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/assets/readme/example-snapshot-arg.rich.svg +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/assets/readme/example-snapshot.rich.svg +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/categories.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/changelog.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/cmp_snapshot.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/code_generation.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/configuration.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/contributing.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/customize_repr.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/eq_snapshot.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/external/assets/register-is-array-for.rich.svg +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/external/assets/register-numberset-format.rich.svg +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/external/external.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/external/external_file.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/external/outsource.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/external/register_format.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/extra.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/fix_assert.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/get_snapshot_value.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/getitem_snapshot.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/howto/parametrize.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/in_snapshot.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/index.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/insiders.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/limitations.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/plugin.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/plugins/pyproject.toml +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/plugins/replace_url.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/pycharm.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/pytest.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/snapshot_arg.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/styles/extra.css +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/testing.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/theme/main.html +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/third_party.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/types.md +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/mkdocs.yml +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/pyproject.toml +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/redeploy_docs.sh +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/scripts/clean_changelog_fragments.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/scripts/replace_words.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/scripts/test_downstream.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/__init__.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_adapter_context.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_align.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_change.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_code_repr.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_compare_context.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_config.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_customize/__init__.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_customize/_custom.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_customize/_custom_call.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_customize/_custom_code.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_customize/_custom_dict.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_customize/_custom_external.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_customize/_custom_undefined.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_customize/_custom_unmanaged.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_exceptions.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_external/__init__.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_external/_diff.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_external/_external.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_external/_external_base.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_external/_external_file.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_external/_external_location.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_external/_find_external.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_external/_format/__init__.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_external/_format/_binary.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_external/_format/_json.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_external/_format/_protocol.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_external/_format/_rich_svg.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_external/_format/_text.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_external/_outsource.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_external/_storage/__init__.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_external/_storage/_hash.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_external/_storage/_protocol.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_external/_storage/_uuid.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_external/_tracked_files.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_fix_assert.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_flags.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_format.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_generator_utils.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_get_snapshot_value.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_global_state.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_inline_snapshot.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_is.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_problems.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_rewrite_code.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_sentinels.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_snapshot/__init__.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_snapshot/collection_value.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_snapshot/dict_value.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_snapshot/eq_value.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_snapshot/generic_value.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_snapshot/min_max_value.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_snapshot_arg.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_source_file.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_types.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_unmanaged.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_utils.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/extra.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/fix_pytest_cache.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/fix_pytest_diff.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/plugin/__init__.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/plugin/_spec.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/py.typed +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/pydantic_fix.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/pytest_plugin.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/syntax_warnings.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/testing/__init__.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/testing/_terminal_svg.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/test-repos.json +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/testing/generate_tests.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/__init__.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/adapter/test_call.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/adapter/test_change_types.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/adapter/test_dataclass.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/adapter/test_dict.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/adapter/test_general.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/adapter/test_namedtuple.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/adapter/test_sequence.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/conftest.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/external/__init__.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/external/storage/test_generic.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/external/storage/test_hash.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/external/storage/test_uuid.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/external/test_external.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/external/test_external_file.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/external/test_external_location.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/external/test_formats.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/external/test_module_name.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_align.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_builder.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_change.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_change_collection_error.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_ci.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_config.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_customize.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_datetime_timezone.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_dirty_equals.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_docs.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_encoding.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_example.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_formatting.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_fstring.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_get_snapshot_value.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_hasrepr.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_inline_snapshot.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_is.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_preserve_values.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_pydantic.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_pypy.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_pytest_diff_fix.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_pytester.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_raises.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_rewrite_code.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_skip_updates.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_snapshot_arg.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_storage.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_string.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_transformed.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_typing.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_update.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_warns.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_without_node.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_xdist.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/test_xfail.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/tests/utils.py +0 -0
- {inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/uv.lock +0 -0
|
@@ -1,4 +1,27 @@
|
|
|
1
1
|
|
|
2
|
+
<a id='changelog-0.35.3'></a>
|
|
3
|
+
# 0.35.3 — 2026-07-27
|
|
4
|
+
|
|
5
|
+
## Added
|
|
6
|
+
|
|
7
|
+
- Added `Builder.create_set()` for creating set expressions in customization
|
|
8
|
+
functions.
|
|
9
|
+
|
|
10
|
+
## Fixed
|
|
11
|
+
|
|
12
|
+
- Fixed set snapshot serialization to be deterministic for partially ordered values
|
|
13
|
+
such as incomparable `frozenset` members.
|
|
14
|
+
|
|
15
|
+
- Fixed a crash when an unknown `--inline-snapshot` flag is provided, without running report finalization or modifying external snapshot tracking files.
|
|
16
|
+
|
|
17
|
+
<a id='changelog-0.35.2'></a>
|
|
18
|
+
# 0.35.2 — 2026-07-16
|
|
19
|
+
|
|
20
|
+
## Fixed
|
|
21
|
+
|
|
22
|
+
- fix passing `PYTHONPATH`, `PYTHONWARNINGS`, and `PYTHONDONTWRITEBYTECODE`
|
|
23
|
+
while running the test suite.
|
|
24
|
+
|
|
2
25
|
<a id='changelog-0.35.1'></a>
|
|
3
26
|
# 0.35.1 — 2026-07-16
|
|
4
27
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: inline-snapshot
|
|
3
|
-
Version: 0.35.
|
|
3
|
+
Version: 0.35.3
|
|
4
4
|
Summary: golden master/snapshot/approval testing library which puts the values right into your source code
|
|
5
5
|
Project-URL: Changelog, https://15r10nk.github.io/inline-snapshot/latest/changelog/
|
|
6
6
|
Project-URL: Discussions, https://github.com/15r10nk/inline-snapshots/discussions
|
{inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_customize/_builder.py
RENAMED
|
@@ -20,6 +20,7 @@ from ._custom_code import ImportFrom
|
|
|
20
20
|
from ._custom_dict import CustomDict
|
|
21
21
|
from ._custom_external import CustomExternal
|
|
22
22
|
from ._custom_sequence import CustomList
|
|
23
|
+
from ._custom_sequence import CustomSet
|
|
23
24
|
from ._custom_sequence import CustomTuple
|
|
24
25
|
|
|
25
26
|
|
|
@@ -115,6 +116,16 @@ customized_representation={result!r}
|
|
|
115
116
|
custom = [self._get_handler_recursive(v) for v in value]
|
|
116
117
|
return CustomTuple(value=custom)
|
|
117
118
|
|
|
119
|
+
def create_set(self, value: set) -> Custom:
|
|
120
|
+
"""
|
|
121
|
+
Creates an intermediate node for a set-expression which can be used as a result for your customization function.
|
|
122
|
+
|
|
123
|
+
`create_set({1, 2, 3})` becomes `{1, 2, 3}` in the code.
|
|
124
|
+
Set elements don't have to be Custom nodes and are converted by inline-snapshot if needed.
|
|
125
|
+
"""
|
|
126
|
+
custom = [self._get_handler_recursive(v) for v in value]
|
|
127
|
+
return CustomSet(value=custom)
|
|
128
|
+
|
|
118
129
|
def with_default(self, value: Any, default: Any):
|
|
119
130
|
"""
|
|
120
131
|
Creates an intermediate node for a default value which can be used as an argument for create_call.
|
{inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_customize/_custom_sequence.py
RENAMED
|
@@ -46,3 +46,28 @@ class CustomTuple(CustomSequence):
|
|
|
46
46
|
value_type = tuple
|
|
47
47
|
braces = "()"
|
|
48
48
|
trailing_comma = True
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
class CustomSet(CustomSequence):
|
|
52
|
+
node_type = ast.Set
|
|
53
|
+
value_type = set
|
|
54
|
+
braces = "{}"
|
|
55
|
+
trailing_comma = False
|
|
56
|
+
|
|
57
|
+
def _code_repr(self, context: AdapterContext) -> Generator[ChangeBase, None, str]:
|
|
58
|
+
if len(self.value) == 0:
|
|
59
|
+
return "set()"
|
|
60
|
+
values = []
|
|
61
|
+
for v in self.value:
|
|
62
|
+
code = yield from v._code_repr(context)
|
|
63
|
+
values.append((v, code))
|
|
64
|
+
|
|
65
|
+
# Keep a deterministic fallback order for non-comparable elements.
|
|
66
|
+
values = sorted(values, key=lambda item: item[1])
|
|
67
|
+
try:
|
|
68
|
+
values = sorted(values, key=lambda item: item[0]._eval())
|
|
69
|
+
except TypeError:
|
|
70
|
+
# Mixed/non-orderable elements must use the stable code-based order.
|
|
71
|
+
pass
|
|
72
|
+
|
|
73
|
+
return "{" + ", ".join(code for _, code in values) + "}"
|
|
@@ -23,6 +23,7 @@ from inline_snapshot._customize._custom_code import CustomCode
|
|
|
23
23
|
from inline_snapshot._customize._custom_dict import CustomDict
|
|
24
24
|
from inline_snapshot._customize._custom_sequence import CustomList
|
|
25
25
|
from inline_snapshot._customize._custom_sequence import CustomSequence
|
|
26
|
+
from inline_snapshot._customize._custom_sequence import CustomSet
|
|
26
27
|
from inline_snapshot._customize._custom_sequence import CustomTuple
|
|
27
28
|
from inline_snapshot._customize._custom_undefined import CustomUndefined
|
|
28
29
|
from inline_snapshot._customize._custom_unmanaged import CustomUnmanaged
|
|
@@ -101,6 +102,14 @@ def reeval_CustomTuple(old_value: CustomTuple, value: CustomTuple):
|
|
|
101
102
|
return CustomTuple([reeval(a, b) for a, b in zip(old_value.value, value.value)])
|
|
102
103
|
|
|
103
104
|
|
|
105
|
+
def reeval_CustomSet(old_value: CustomSet, value: CustomSet):
|
|
106
|
+
if old_value._eval() != value._eval():
|
|
107
|
+
raise UsageError(
|
|
108
|
+
"snapshot value should not change. Use Is(...) for dynamic snapshot parts."
|
|
109
|
+
)
|
|
110
|
+
return value
|
|
111
|
+
|
|
112
|
+
|
|
104
113
|
def reeval_CustomUnmanaged(old_value: CustomUnmanaged, value: CustomUnmanaged):
|
|
105
114
|
old_value.value = value.value
|
|
106
115
|
return old_value
|
|
@@ -322,6 +331,31 @@ class NewAdapter:
|
|
|
322
331
|
|
|
323
332
|
return CustomTuple(result)
|
|
324
333
|
|
|
334
|
+
def compare_CustomSet(
|
|
335
|
+
self, old_value: CustomSet, old_node: ast.Set, new_value: CustomSet
|
|
336
|
+
) -> Generator[ChangeBase, None, CustomSet]:
|
|
337
|
+
assert isinstance(old_node, ast.Set)
|
|
338
|
+
|
|
339
|
+
# A set's iteration order cannot be associated with the source order of
|
|
340
|
+
# its AST elements. Compare it atomically instead of attempting
|
|
341
|
+
# positional element updates.
|
|
342
|
+
if old_value._eval() == new_value.original_value:
|
|
343
|
+
return old_value
|
|
344
|
+
|
|
345
|
+
new_code, new_changes = split_gen(new_value._code_repr(self.context))
|
|
346
|
+
for change in new_changes:
|
|
347
|
+
change.flag = "fix"
|
|
348
|
+
yield change
|
|
349
|
+
|
|
350
|
+
yield Replace(
|
|
351
|
+
node=old_node,
|
|
352
|
+
file=self.context.file,
|
|
353
|
+
new_code=new_code,
|
|
354
|
+
flag="fix",
|
|
355
|
+
)
|
|
356
|
+
|
|
357
|
+
return new_value
|
|
358
|
+
|
|
325
359
|
def compare_CustomDict(
|
|
326
360
|
self, old_value: CustomDict, old_node: ast.Dict, new_value: CustomDict
|
|
327
361
|
) -> Generator[ChangeBase, None, Custom]:
|
{inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/_snapshot/undecided_value.py
RENAMED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import ast
|
|
2
|
+
from pathlib import PurePath
|
|
2
3
|
from typing import Any
|
|
3
4
|
from typing import Iterator
|
|
4
5
|
|
|
@@ -11,6 +12,7 @@ from inline_snapshot._customize._custom_call import CustomDefault
|
|
|
11
12
|
from inline_snapshot._customize._custom_code import CustomCode
|
|
12
13
|
from inline_snapshot._customize._custom_dict import CustomDict
|
|
13
14
|
from inline_snapshot._customize._custom_sequence import CustomList
|
|
15
|
+
from inline_snapshot._customize._custom_sequence import CustomSet
|
|
14
16
|
from inline_snapshot._customize._custom_sequence import CustomTuple
|
|
15
17
|
from inline_snapshot._customize._custom_undefined import CustomUndefined
|
|
16
18
|
from inline_snapshot._customize._custom_unmanaged import CustomUnmanaged
|
|
@@ -62,6 +64,12 @@ class AstToCustom:
|
|
|
62
64
|
def convert_Tuple(self, value: tuple, node: ast.Tuple):
|
|
63
65
|
return CustomTuple([self.convert(v, n) for v, n in zip(value, node.elts)])
|
|
64
66
|
|
|
67
|
+
def convert_Set(self, value: set, node: ast.Set):
|
|
68
|
+
# Set elements cannot be associated with their AST nodes because set
|
|
69
|
+
# iteration order is unrelated to source order. Use the value Python
|
|
70
|
+
# has already evaluated instead of evaluating each expression again.
|
|
71
|
+
return ValueToCustom(self.context).convert_set(value)
|
|
72
|
+
|
|
65
73
|
def convert_Dict(self, value: dict, node: ast.Dict):
|
|
66
74
|
return CustomDict(
|
|
67
75
|
{
|
|
@@ -98,7 +106,9 @@ class ValueToCustom:
|
|
|
98
106
|
else:
|
|
99
107
|
with mock_repr(self.context):
|
|
100
108
|
result = Builder(self.context, _recursive=False)._get_handler(value)
|
|
101
|
-
if isinstance(result, CustomCall) and
|
|
109
|
+
if isinstance(result, CustomCall) and (
|
|
110
|
+
result.function == type(value) or isinstance(value, PurePath)
|
|
111
|
+
):
|
|
102
112
|
function = self.convert(result.function)
|
|
103
113
|
posonly_args = [self.convert(arg) for arg in result.args]
|
|
104
114
|
kwargs = {k: self.convert(arg) for k, arg in result.kwargs.items()}
|
|
@@ -116,6 +126,9 @@ class ValueToCustom:
|
|
|
116
126
|
def convert_tuple(self, value: tuple):
|
|
117
127
|
return CustomTuple([self.convert(v) for v in value])
|
|
118
128
|
|
|
129
|
+
def convert_set(self, value: set):
|
|
130
|
+
return CustomSet([self.convert(v) for v in value])
|
|
131
|
+
|
|
119
132
|
def convert_dict(self, value: dict):
|
|
120
133
|
return CustomDict(
|
|
121
134
|
{self.convert(k): self.convert(v) for (k, v) in value.items()}
|
|
@@ -247,6 +247,7 @@ class SnapshotSession:
|
|
|
247
247
|
|
|
248
248
|
def __init__(self):
|
|
249
249
|
self.registered_modules = set()
|
|
250
|
+
self.configured = False
|
|
250
251
|
|
|
251
252
|
def register_customize_hooks_from_module(self, module):
|
|
252
253
|
"""Find and register functions decorated with @customize from a module"""
|
|
@@ -299,6 +300,7 @@ class SnapshotSession:
|
|
|
299
300
|
)
|
|
300
301
|
|
|
301
302
|
def load_config(self, pyproject, cli_flags, parallel_run, error, project_root):
|
|
303
|
+
self.configured = False
|
|
302
304
|
|
|
303
305
|
# read config
|
|
304
306
|
if pyproject is not None:
|
|
@@ -381,6 +383,7 @@ class SnapshotSession:
|
|
|
381
383
|
]
|
|
382
384
|
|
|
383
385
|
self.fix_libraries()
|
|
386
|
+
self.configured = True
|
|
384
387
|
|
|
385
388
|
def fix_libraries(self):
|
|
386
389
|
pydantic_fix()
|
|
@@ -388,6 +391,8 @@ class SnapshotSession:
|
|
|
388
391
|
fix_pytest_cache()
|
|
389
392
|
|
|
390
393
|
def show_report(self, con: Console):
|
|
394
|
+
if not self.configured:
|
|
395
|
+
return
|
|
391
396
|
|
|
392
397
|
@call_once
|
|
393
398
|
def console():
|
{inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/src/inline_snapshot/plugin/_default_plugin.py
RENAMED
|
@@ -163,31 +163,10 @@ class InlineSnapshotPlugin:
|
|
|
163
163
|
if isinstance(value, PurePath):
|
|
164
164
|
return builder.create_call(PurePath, [value.as_posix()])
|
|
165
165
|
|
|
166
|
-
def sort_set_values(self, set_values):
|
|
167
|
-
is_sorted = False
|
|
168
|
-
try:
|
|
169
|
-
set_values = sorted(set_values)
|
|
170
|
-
is_sorted = True
|
|
171
|
-
except TypeError:
|
|
172
|
-
# cannot be sorted by value
|
|
173
|
-
pass
|
|
174
|
-
|
|
175
|
-
set_values = list(map(repr, set_values))
|
|
176
|
-
if not is_sorted:
|
|
177
|
-
# sort by string representation
|
|
178
|
-
set_values = sorted(set_values)
|
|
179
|
-
|
|
180
|
-
return set_values
|
|
181
|
-
|
|
182
166
|
@customize
|
|
183
167
|
def set_handler(self, value, builder: Builder):
|
|
184
168
|
if isinstance(value, set):
|
|
185
|
-
|
|
186
|
-
return builder.create_code("set()")
|
|
187
|
-
else:
|
|
188
|
-
return builder.create_code(
|
|
189
|
-
"{" + ", ".join(self.sort_set_values(value)) + "}"
|
|
190
|
-
)
|
|
169
|
+
return builder.create_set(value)
|
|
191
170
|
|
|
192
171
|
@customize
|
|
193
172
|
def frozenset_handler(self, value, builder: Builder):
|
|
@@ -131,7 +131,10 @@ def _subprocess_env() -> dict[str, str]:
|
|
|
131
131
|
"VIRTUAL_ENV",
|
|
132
132
|
"TOP",
|
|
133
133
|
"COVERAGE_PROCESS_START",
|
|
134
|
+
"PYTHONDONTWRITEBYTECODE",
|
|
134
135
|
"PYTHONIOENCODING",
|
|
136
|
+
"PYTHONPATH",
|
|
137
|
+
"PYTHONWARNINGS",
|
|
135
138
|
"PYTEST_DISABLE_PLUGIN_AUTOLOAD",
|
|
136
139
|
"PYTEST_PLUGINS",
|
|
137
140
|
]
|
|
@@ -13,7 +13,11 @@ import pytest
|
|
|
13
13
|
from inline_snapshot import HasRepr
|
|
14
14
|
from inline_snapshot import snapshot
|
|
15
15
|
from inline_snapshot._code_repr import code_repr
|
|
16
|
+
from inline_snapshot._customize._custom_code import CustomCode
|
|
17
|
+
from inline_snapshot._customize._custom_sequence import CustomSet
|
|
18
|
+
from inline_snapshot._new_adapter import reeval
|
|
16
19
|
from inline_snapshot._sentinels import undefined
|
|
20
|
+
from inline_snapshot.extra import raises
|
|
17
21
|
from inline_snapshot.testing import Example
|
|
18
22
|
from tests.conftest import check_update
|
|
19
23
|
|
|
@@ -335,6 +339,120 @@ def test_set():
|
|
|
335
339
|
)
|
|
336
340
|
|
|
337
341
|
|
|
342
|
+
def test_set_partial_order_is_deterministic():
|
|
343
|
+
Example("""\
|
|
344
|
+
from itertools import permutations
|
|
345
|
+
|
|
346
|
+
from inline_snapshot import snapshot
|
|
347
|
+
from inline_snapshot._code_repr import code_repr
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
def test_set_partial_order_is_deterministic():
|
|
351
|
+
a = frozenset({"a", "b"})
|
|
352
|
+
b = frozenset({"a", "c"})
|
|
353
|
+
c = frozenset({"a", "d"})
|
|
354
|
+
|
|
355
|
+
for items in permutations([a, b, c]):
|
|
356
|
+
assert set(items) == snapshot()
|
|
357
|
+
""").run_inline(
|
|
358
|
+
["--inline-snapshot=create"],
|
|
359
|
+
changed_files={"tests/test_something.py": """\
|
|
360
|
+
from itertools import permutations
|
|
361
|
+
|
|
362
|
+
from inline_snapshot import snapshot
|
|
363
|
+
from inline_snapshot._code_repr import code_repr
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
def test_set_partial_order_is_deterministic():
|
|
367
|
+
a = frozenset({"a", "b"})
|
|
368
|
+
b = frozenset({"a", "c"})
|
|
369
|
+
c = frozenset({"a", "d"})
|
|
370
|
+
|
|
371
|
+
for items in permutations([a, b, c]):
|
|
372
|
+
assert set(items) == snapshot(
|
|
373
|
+
{frozenset({"a", "b"}), frozenset({"a", "c"}), frozenset({"a", "d"})}
|
|
374
|
+
)
|
|
375
|
+
"""},
|
|
376
|
+
)
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
def test_set_is_compared_atomically():
|
|
380
|
+
Example("""\
|
|
381
|
+
from inline_snapshot import snapshot
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
def test_set_is_compared_atomically():
|
|
385
|
+
assert {1, 2, 10} == snapshot({10, 1, 2})
|
|
386
|
+
""").run_inline(reported_categories=set())
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
def test_set_is_replaced_atomically():
|
|
390
|
+
Example("""\
|
|
391
|
+
from inline_snapshot import snapshot
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
def test_set_is_replaced_atomically():
|
|
395
|
+
assert {1, 2, 20} == snapshot({10, 1, 2})
|
|
396
|
+
""").run_inline(
|
|
397
|
+
["--inline-snapshot=fix"],
|
|
398
|
+
changed_files={"tests/test_something.py": """\
|
|
399
|
+
from inline_snapshot import snapshot
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
def test_set_is_replaced_atomically():
|
|
403
|
+
assert {1, 2, 20} == snapshot({1, 2, 20})
|
|
404
|
+
"""},
|
|
405
|
+
)
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
def test_set_is_replaced_atomically_with_child_changes():
|
|
409
|
+
Example("""\
|
|
410
|
+
from pathlib import Path
|
|
411
|
+
|
|
412
|
+
from inline_snapshot import snapshot
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
def test_set_is_replaced_atomically_with_child_changes():
|
|
416
|
+
assert {Path("new")} == snapshot({Path("old")})
|
|
417
|
+
""").run_inline(
|
|
418
|
+
["--inline-snapshot=fix"],
|
|
419
|
+
changed_files={"tests/test_something.py": """\
|
|
420
|
+
from pathlib import Path
|
|
421
|
+
|
|
422
|
+
from inline_snapshot import snapshot
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
def test_set_is_replaced_atomically_with_child_changes():
|
|
426
|
+
assert {Path("new")} == snapshot({Path("new")})
|
|
427
|
+
"""},
|
|
428
|
+
)
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
def test_set_is_reevaluated():
|
|
432
|
+
Example("""\
|
|
433
|
+
from inline_snapshot import snapshot
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
def test_set_is_reevaluated():
|
|
437
|
+
for value in [{1, 2}, {1, 2}]:
|
|
438
|
+
assert value == snapshot({2, 1})
|
|
439
|
+
""").run_inline(reported_categories=set())
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
def test_set_custom_helpers():
|
|
443
|
+
old = CustomSet([CustomCode(1, "1"), CustomCode(2, "2")])
|
|
444
|
+
reordered = CustomSet([CustomCode(2, "2"), CustomCode(1, "1")])
|
|
445
|
+
assert reeval(old, reordered) is reordered
|
|
446
|
+
|
|
447
|
+
changed = CustomSet([CustomCode(3, "3")])
|
|
448
|
+
with raises(
|
|
449
|
+
snapshot(
|
|
450
|
+
"UsageError: snapshot value should not change. Use Is(...) for dynamic snapshot parts."
|
|
451
|
+
)
|
|
452
|
+
):
|
|
453
|
+
reeval(old, changed)
|
|
454
|
+
|
|
455
|
+
|
|
338
456
|
def test_datatypes_explicit():
|
|
339
457
|
assert code_repr(C(a=1, c=2)) == snapshot("C(a=1, c=2)")
|
|
340
458
|
assert code_repr(B(b=5)) == snapshot("B(b=5)")
|
|
@@ -752,7 +752,10 @@ Please fix the way your object is copied or your __eq__ implementation.
|
|
|
752
752
|
def test_unknown_flag():
|
|
753
753
|
|
|
754
754
|
e = Example("""\
|
|
755
|
+
from inline_snapshot import external
|
|
756
|
+
|
|
755
757
|
def test_a():
|
|
758
|
+
external("hash:123*.png")
|
|
756
759
|
assert 1==1
|
|
757
760
|
""")
|
|
758
761
|
|
|
@@ -770,7 +773,6 @@ def test_a():
|
|
|
770
773
|
["--inline-snapshot=creaigflen"],
|
|
771
774
|
stderr=error,
|
|
772
775
|
reported_categories=set(),
|
|
773
|
-
raises="AssertionError",
|
|
774
776
|
)
|
|
775
777
|
|
|
776
778
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/.github/workflows/deploy_development_docs.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/assets/code_generation/string-update.rich.svg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/assets/introduction/show-error.rich.svg
RENAMED
|
File without changes
|
|
File without changes
|
{inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/assets/introduction/simple-example.rich.svg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/assets/pytest/create-fix-trim-update.rich.svg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/assets/readme/example-snapshot-arg.rich.svg
RENAMED
|
File without changes
|
{inline_snapshot-0.35.1 → inline_snapshot-0.35.3}/docs/assets/readme/example-snapshot.rich.svg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|