asynqp icon indicating copy to clipboard operation
asynqp copied to clipboard

Added QueuedConsumer implementation

Open tvoinarovskyi opened this issue 10 years ago • 2 comments

With Python3.5 support for async with and async for.

NOTE: There are no tests for it. Can't wrap my head around how to implement a separate test for python35, any suggestions?

tvoinarovskyi avatar Dec 02 '15 17:12 tvoinarovskyi

I think this is a little too much to even view at a time. I will split up the Python3.5 and only create a PR for Python3.4 (with tests) later.

TarasLevelUp avatar Dec 07 '15 14:12 TarasLevelUp

Regarding testing 3.5-specific functionality - you should be able to just make a test which runs only in 3.5.

if PY35:
    class WhenTestingPython35SpecificFunctionality:
        ...

benjamin-hodgson avatar Dec 15 '15 14:12 benjamin-hodgson