syrusakbary / promise

Ultra-performant Promise implementation in Python
MIT License
362 stars 76 forks source link

Make Promise subclassable using classmethods, add asyncio await support #3

Closed csboling closed 8 years ago

csboling commented 8 years ago

These commits make the following changes to the code, reflecting them in the tests and docs.

coveralls commented 8 years ago

Coverage Status

Coverage decreased (-0.7%) to 93.496% when pulling 7b52b043ba2962130b3974e559f0e3464fb4e1ec on csboling:master into 127a202f553f073e5c891231c8227c6800d4c210 on syrusakbary:master.

coveralls commented 8 years ago

Coverage Status

Coverage decreased (-0.7%) to 93.496% when pulling ca0387b7065c5d4ece563f948122ab8670f36176 on csboling:master into 127a202f553f073e5c891231c8227c6800d4c210 on syrusakbary:master.

csboling commented 8 years ago

The 2.7 build is failing because testing the async/await code relies on the pytest-asyncio plugin, which doesn't work in 2.7. The build passes for 2.7 with Tox on my local machine, but I'm not sure how to get Travis to install a testing dependency only for some versions.