Skip to content

doc: uses non-existing postgresql.time.freeze #22

@blueyed

Description

@blueyed

In https://github.com/CloverHealth/pytest-pgsql/blob/15c99b8ad65a2746970f148c7efb7a9cc8caabcf/docs/index.rst#manipulating-time it has:

with postgresql.time.freeze('December 31st 1999 11:59:59 PM') as freezer:
    # Time is frozen inside the database *and* Python.

That should probably be with pytest_pgsql.freeze_time.

It's also in the docs.

Happy to do a PR, but wasn't sure if that was meant really.
(the example code then also should have an import probably to make things clearer)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions