Uploaded image for project: 'Motor'
  1. Motor
  2. MOTOR-75

Skip asyncio or tornado tests if the framework is not installed

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.5
    • Affects Version/s: None
    • Component/s: None
    • None

      I have a hack in place to skip asyncio tests in Python < 3.4 (since the "yield from" syntax prevents those tests from even being parsed in older Pythons). Revisit the hack and make a reasonable effort at a more easily understood method of skipping those tests.

      Also move the Tornado-specific suite into a subdirectory and skip it if Tornado is not installed.

      Fail the suite if neither tornado nor asyncio is installed, to prevent false success on ImportError.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: