aio-libs / janus

Thread-safe asyncio-aware queue for Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

formatting tests fail

symphorien opened this issue · comments

============================= test session starts ==============================
platform linux -- Python 3.7.7, pytest-5.4.2, py-1.8.1, pluggy-0.13.1
rootdir: /build/janus-0.5.0
plugins: asyncio-0.12.0
collected 71 items                                                             

tests/test_async.py ......................F...F...F...                   [ 47%]
tests/test_mixed.py ..............                                       [ 67%]
tests/test_sync.py .......................                               [100%]

=================================== FAILURES ===================================
__________________________ QueueJoinTests.test_format __________________________
Unexpected success
________________________ LifoQueueJoinTests.test_format ________________________
Unexpected success
______________________ PriorityQueueJoinTests.test_format ______________________
Unexpected success
=============================== warnings summary ===============================
tests/test_async.py::QueueBasicTests::test_empty
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'QueueBasicTests.test_empty' was never awaited
    testMethod()

tests/test_async.py::QueueBasicTests::test_full
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'QueueBasicTests.test_full' was never awaited
    testMethod()

tests/test_async.py::QueueBasicTests::test_maxsize
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'QueueBasicTests.test_maxsize' was never awaited
    testMethod()

tests/test_async.py::QueueBasicTests::test_order
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'QueueBasicTests.test_order' was never awaited
    testMethod()

tests/test_async.py::QueueGetTests::test_blocking_get
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'QueueGetTests.test_blocking_get' was never awaited
    testMethod()

tests/test_async.py::QueueGetTests::test_blocking_get_wait
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'QueueGetTests.test_blocking_get_wait' was never awaited
    testMethod()

tests/test_async.py::QueueGetTests::test_get_cancelled
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'QueueGetTests.test_get_cancelled' was never awaited
    testMethod()

tests/test_async.py::QueueGetTests::test_get_cancelled_race
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'QueueGetTests.test_get_cancelled_race' was never awaited
    testMethod()

tests/test_async.py::QueueGetTests::test_get_with_putters
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'QueueGetTests.test_get_with_putters' was never awaited
    testMethod()

tests/test_async.py::QueueGetTests::test_get_with_waiting_putters
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'QueueGetTests.test_get_with_waiting_putters' was never awaited
    testMethod()

tests/test_async.py::QueueGetTests::test_nonblocking_get
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'QueueGetTests.test_nonblocking_get' was never awaited
    testMethod()

tests/test_async.py::QueueGetTests::test_nonblocking_get_exception
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'QueueGetTests.test_nonblocking_get_exception' was never awaited
    testMethod()

tests/test_async.py::QueuePutTests::test_blocking_put
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'QueuePutTests.test_blocking_put' was never awaited
    testMethod()

tests/test_async.py::QueuePutTests::test_blocking_put_wait
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'QueuePutTests.test_blocking_put_wait' was never awaited
    testMethod()

tests/test_async.py::QueuePutTests::test_float_maxsize
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'QueuePutTests.test_float_maxsize' was never awaited
    testMethod()

tests/test_async.py::QueuePutTests::test_nonblocking_put
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'QueuePutTests.test_nonblocking_put' was never awaited
    testMethod()

tests/test_async.py::QueuePutTests::test_nonblocking_put_exception
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'QueuePutTests.test_nonblocking_put_exception' was never awaited
    testMethod()

tests/test_async.py::QueuePutTests::test_put_cancelled
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'QueuePutTests.test_put_cancelled' was never awaited
    testMethod()

tests/test_async.py::QueuePutTests::test_put_cancelled_race
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'QueuePutTests.test_put_cancelled_race' was never awaited
    testMethod()

tests/test_async.py::QueuePutTests::test_put_with_waiting_getters
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'QueuePutTests.test_put_with_waiting_getters' was never awaited
    testMethod()

tests/test_async.py::LifoQueueTests::test_order
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'LifoQueueTests.test_order' was never awaited
    testMethod()

tests/test_async.py::PriorityQueueTests::test_order
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'PriorityQueueTests.test_order' was never awaited
    testMethod()

tests/test_async.py::QueueJoinTests::test_format
tests/test_async.py::LifoQueueJoinTests::test_format
tests/test_async.py::PriorityQueueJoinTests::test_format
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine '_QueueJoinTestMixin.test_format' was never awaited
    testMethod()

tests/test_async.py::QueueJoinTests::test_join_empty_queue
tests/test_async.py::LifoQueueJoinTests::test_join_empty_queue
tests/test_async.py::PriorityQueueJoinTests::test_join_empty_queue
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine '_QueueJoinTestMixin.test_join_empty_queue' was never awaited
    testMethod()

tests/test_async.py::QueueJoinTests::test_task_done
tests/test_async.py::LifoQueueJoinTests::test_task_done
tests/test_async.py::PriorityQueueJoinTests::test_task_done
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine '_QueueJoinTestMixin.test_task_done' was never awaited
    testMethod()

tests/test_async.py::QueueJoinTests::test_task_done_underflow
tests/test_async.py::LifoQueueJoinTests::test_task_done_underflow
tests/test_async.py::PriorityQueueJoinTests::test_task_done_underflow
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine '_QueueJoinTestMixin.test_task_done_underflow' was never awaited
    testMethod()

tests/test_mixed.py::TestMixedMode::test_async_join_async_done
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'TestMixedMode.test_async_join_async_done' was never awaited
    testMethod()

tests/test_mixed.py::TestMixedMode::test_async_put_sync_get
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'TestMixedMode.test_async_put_sync_get' was never awaited
    testMethod()

tests/test_mixed.py::TestMixedMode::test_closed
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'TestMixedMode.test_closed' was never awaited
    testMethod()

tests/test_mixed.py::TestMixedMode::test_double_closing
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'TestMixedMode.test_double_closing' was never awaited
    testMethod()

tests/test_mixed.py::TestMixedMode::test_maxsize
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'TestMixedMode.test_maxsize' was never awaited
    testMethod()

tests/test_mixed.py::TestMixedMode::test_maxsize_default
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'TestMixedMode.test_maxsize_default' was never awaited
    testMethod()

tests/test_mixed.py::TestMixedMode::test_maxsize_named_param
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'TestMixedMode.test_maxsize_named_param' was never awaited
    testMethod()

tests/test_mixed.py::TestMixedMode::test_modifying_forbidden_after_closing
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'TestMixedMode.test_modifying_forbidden_after_closing' was never awaited
    testMethod()

tests/test_mixed.py::TestMixedMode::test_sync_join_async_done
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'TestMixedMode.test_sync_join_async_done' was never awaited
    testMethod()

tests/test_mixed.py::TestMixedMode::test_sync_put_async_get
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'TestMixedMode.test_sync_put_async_get' was never awaited
    testMethod()

tests/test_mixed.py::TestMixedMode::test_sync_put_async_join
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'TestMixedMode.test_sync_put_async_join' was never awaited
    testMethod()

tests/test_mixed.py::TestMixedMode::test_unfinished
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'TestMixedMode.test_unfinished' was never awaited
    testMethod()

tests/test_mixed.py::TestMixedMode::test_wait_without_closing
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'TestMixedMode.test_wait_without_closing' was never awaited
    testMethod()

tests/test_sync.py::QueueTest::test_maxsize
tests/test_sync.py::LifoQueueTest::test_maxsize
tests/test_sync.py::PriorityQueueTest::test_maxsize
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'BaseQueueTestMixin.test_maxsize' was never awaited
    testMethod()

tests/test_sync.py::QueueTest::test_negative_timeout_raises_exception
tests/test_sync.py::LifoQueueTest::test_negative_timeout_raises_exception
tests/test_sync.py::PriorityQueueTest::test_negative_timeout_raises_exception
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'BaseQueueTestMixin.test_negative_timeout_raises_exception' was never awaited
    testMethod()

tests/test_sync.py::QueueTest::test_nowait
tests/test_sync.py::LifoQueueTest::test_nowait
tests/test_sync.py::PriorityQueueTest::test_nowait
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'BaseQueueTestMixin.test_nowait' was never awaited
    testMethod()

tests/test_sync.py::QueueTest::test_queue_join
tests/test_sync.py::LifoQueueTest::test_queue_join
tests/test_sync.py::PriorityQueueTest::test_queue_join
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'BaseQueueTestMixin.test_queue_join' was never awaited
    testMethod()

tests/test_sync.py::QueueTest::test_queue_task_done
tests/test_sync.py::LifoQueueTest::test_queue_task_done
tests/test_sync.py::PriorityQueueTest::test_queue_task_done
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'BaseQueueTestMixin.test_queue_task_done' was never awaited
    testMethod()

tests/test_sync.py::QueueTest::test_shrinking_queue
tests/test_sync.py::LifoQueueTest::test_shrinking_queue
tests/test_sync.py::PriorityQueueTest::test_shrinking_queue
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'BaseQueueTestMixin.test_shrinking_queue' was never awaited
    testMethod()

tests/test_sync.py::QueueTest::test_simple_queue
tests/test_sync.py::LifoQueueTest::test_simple_queue
tests/test_sync.py::PriorityQueueTest::test_simple_queue
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'BaseQueueTestMixin.test_simple_queue' was never awaited
    testMethod()

tests/test_sync.py::FailingQueueTest::test_closed_loop_non_failing
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'FailingQueueTest.test_closed_loop_non_failing' was never awaited
    testMethod()

tests/test_sync.py::FailingQueueTest::test_failing_queue
  /nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/unittest/case.py:628: RuntimeWarning: coroutine 'FailingQueueTest.test_failing_queue' was never awaited
    testMethod()

-- Docs: https://docs.pytest.org/en/latest/warnings.html
=========================== short test summary info ============================
FAILED tests/test_async.py::QueueJoinTests::test_format
FAILED tests/test_async.py::LifoQueueJoinTests::test_format
FAILED tests/test_async.py::PriorityQueueJoinTests::test_format
================== 3 failed, 68 passed, 70 warnings in 0.86s ===================
builder for '/nix/store/amxgdvbpnkqz9fj8120axrz0cmr4pzh3-python3.7-janus-0.5.0.drv' failed with exit code 1

Test suite is fixed