Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_flask.py and test_run.py fail #1241

Closed
doronbehar opened this issue Mar 15, 2023 · 2 comments
Closed

test_flask.py and test_run.py fail #1241

doronbehar opened this issue Mar 15, 2023 · 2 comments

Comments

@doronbehar
Copy link

Environment data

  • debugpy version: 1.6.6
  • OS and version: NixOS
  • Python version: 3.10

Actual behavior

Tests fail:

FAILED tests/debugpy/test_flask.py::test_flask_breakpoint_multiproc[launch] - AssertionError: Unobserved occurrences detected:
FAILED tests/debugpy/test_run.py::test_run_relative_path[launch(internalConsole)] - assert 'Traceback' not in 'Traceback (...: finished\n'

Here are the logs:

https://gist.github.com/doronbehar/621cda33da729f25abc3dfc5af704a3c

https://gist.github.com/doronbehar/621cda33da729f25abc3dfc5af704a3c

Expected behavior

No tests fail

Steps to reproduce:

Perhaps some combination of dependencies which is present at the moment only on NixOS is what's causing this issue. You can browse https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/python-modules to see what's the versions of debugpy's dependencies in Nix' packages collection.

@int19h
Copy link
Collaborator

int19h commented Mar 20, 2023

The second error is due to #1230. Can you share the log for the Flask failure? (both links seem to point to the log for test_run_relative_path atm)

@github-actions
Copy link

This issue was closed because it has been stalled for 30 days with no activity. If the issue still persists, please reopen with the information requested. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants