GithubHelp home page GithubHelp logo

Comments (4)

juliangilbey avatar juliangilbey commented on June 23, 2024

I just realised that the qbot.waitUntil timeout is in a flaky report, and is fine. But it is the weird _text_edit issue which is frequently happening, even when the test_input_and_print call is successful first time.

from qtconsole.

juliangilbey avatar juliangilbey commented on June 23, 2024

Update: I have located the source of the issue (though I don't understand why it is breaking); it is the test in qtconsole/tests/test_inprocess_kernel.py which causes the error. Running this test under unittest rather than pytest passes with no issues.

from qtconsole.

rayosborn avatar rayosborn commented on June 23, 2024

Testing is not really my area of expertise, but the tests were set up as unittests so I'm not completely sure why you want to use pytest. In my clone of the repository, test_inprocess_kernel.py gives no error.

from qtconsole.

juliangilbey avatar juliangilbey commented on June 23, 2024

Hi @rayosborn, some of the test files contain only pytest tests, some contain only unittest tests and some contain a mixture. The GitHub workflow runs all the tests using pytest:

- name: Run tests
shell: bash -l {0}
run: xvfb-run --auto-servernum pytest -vv -s --full-trace --color=yes --cov=qtconsole qtconsole
env:
QT_API: ${{ matrix.QT_LIB }}
PYTEST_QT_API: ${{ matrix.QT_LIB }}

But for some strange reason, this caused the error described above on a Debian system.

from qtconsole.

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.