Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-4533

[Python] Document how to run hypothesis tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.12.0
    • 0.13.0
    • Python
    • None

    Description

      If I run

      $ python -m pytest --hypothesis -r s
      

      then at the end I get the following description of skipped tests:

      SKIP [12] /home/antoine/arrow/python/pyarrow/tests/conftest.py:165: --hypothesis NOT enabled
      

      So I try with --hypothesis and it fails with the following message:

      $ python -m pytest --hypothesis -r s
      usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]
      pytest.py: error: ambiguous option: --hypothesis could match --hypothesis-profile, --hypothesis-verbosity, --hypothesis-show-statistics, --hypothesis-seed
      

      Attachments

        Activity

          People

            wesm Wes McKinney
            apitrou Antoine Pitrou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: