Skip to content

Better protections for typing-extensions tests #8

Closed

Description

@JelleZijlstra

Followup from python/typing#935:

  • Add assertion to make sure the typing-extensions we're testing is the one in the repo, not the one that happens to be installed in your venv.
  • Document how to test typing-extensions locally (probably, we should recommend using an empty venv).

Activity

  1. JelleZijlstra commented on Jun 2, 2023

    @JelleZijlstra
    MemberAuthor

    I submitted documentation on how to run tests in #211.

    I thought about adding a test in test_typing_extensions.py that asserts that the typing_extensions it's using is in the same directory as the current file, but I feel that sort of thing may cause trouble for redistributors later, so I'm inclined to skip that idea and close this issue after the documentation change is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions