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

Skip asyncio or tornado tests if the framework is not installed

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: