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

Test Failure - doctests

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 1.2
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

       [2017/03/31 14:18:56.953] WARNING: **********************************************************************
       [2017/03/31 14:18:56.953] File "tutorial-tornado.rst", line 563, in after-inserting-2000-docs
       [2017/03/31 14:18:56.953] Failed example:
       [2017/03/31 14:18:56.953]     IOLoop.current().run_sync(use_count_command)
       [2017/03/31 14:18:56.953] Expected:
       [2017/03/31 14:18:56.953]     response: {'n': 1000, 'ok': 1.0, ...}
       [2017/03/31 14:18:56.953] Got:
       [2017/03/31 14:18:56.953]     response: {'n': 1000, 'ok': 1.0}
       [2017/03/31 14:18:58.523] WARNING: **********************************************************************
       [2017/03/31 14:18:58.523] File "tutorial-asyncio.rst", line 413, in after-inserting-2000-docs
       [2017/03/31 14:18:58.523] Failed example:
       [2017/03/31 14:18:58.523]     loop.run_until_complete(use_count_command())
       [2017/03/31 14:18:58.523] Expected:
       [2017/03/31 14:18:58.523]     response: {'n': 1000, 'ok': 1.0, ...}
       [2017/03/31 14:18:58.523] Got:
       [2017/03/31 14:18:58.523]     response: {'n': 1000, 'ok': 1.0}
      

      Instead of this:

      {'n': 1000, 'ok': 1.0, ...}
      

      I think you want this:

      {'n': 1000, 'ok': 1.0...}
      

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

              Created:
              Updated:
              Resolved: