Git Product home page Git Product logo

Comments (3)

azogue avatar azogue commented on July 18, 2024

Hi @fabaff, sorry about the lack of answer, didn't saw this one, nor the PR in #10...

I will review this over the current month (I need to mine some free time to do it 🥵, but it should be quick to fix)

from aiopvpc.

azogue avatar azogue commented on July 18, 2024

It seems related to the pytest environment when running the test suite:

=============================== warnings summary ===============================
tests/test_pvpc.py: 11 warnings
  /nix/store/69jp5jhv1v79zk2dlv5vy9ssz89bik9w-python3.8-pytest-6.2.2/lib/python3.8/site-packages/_pytest/python.py:172: PytestUnhandledCoroutineWarning: async def functions are not natively supported and have been skipped.
  You need to install a suitable plugin for your async framework, for example:
    - anyio
    - pytest-asyncio
    - pytest-tornasync
    - pytest-trio
    - pytest-twisted
    warnings.warn(PytestUnhandledCoroutineWarning(msg.format(nodeid)))

-- Docs: https://docs.pytest.org/en/stable/warnings.html
================== 1 passed, 14 skipped, 11 warnings in 0.47s ==================
  • "install a suitable plugin for your async framework"

In other projects I've used pytest-asyncio in dev dependencies, but this one is using pytest-aiohttp, could that be the problem?

Running tests locally (macOS) with a fresh poetry env is going ok, with 12 tests passing and 3 skipped (as these are the ones that make real calls)

from aiopvpc.

azogue avatar azogue commented on July 18, 2024

closed by #13

from aiopvpc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.