Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1239

Evergreen - Test explicitly without C extensions

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 2.9.5, 3.5
    • Tests
    • None

    Description

      We currently test PyMongo (2.x and 3.x) in evergreen using the command:

      /path/to/python setup.py test

      Assuming the environment has a functioning C compiler and headers for the given python version, the test suite builds the C extensions and tests using them. Almost all of the Evergreen distros fulfill those requirements. We implicitly test the pure python bson and message modules through our pypy and jython test runs, but that tells us nothing about the pure python modules under the various versions of CPython we support. Also run the tests with this command:

      /path/to/python setup.py --no_ext test

      Attachments

        Activity

          People

            bernie@mongodb.com Bernie Hackett
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: