-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
status: needs informationreporter needs to provide more information; can be closed after 2 or more weeks of inactivityreporter needs to provide more information; can be closed after 2 or more weeks of inactivity
Description
I tried running the py.test tests in PyCharm and test_pdb_collection_failure_is_shown() from the test_pdb.py module simply hangs and stops execution.
PyCharm disables output capturing (probably because they want to capture it themselves).
It can be easily reproduced without PyCharm:
py.test -s testing/test_pdb.pyThen one can type 'c' (continue in pdb) - even though no output is shown regarding pdb - and the test run finishes.
Following is the default command executed by PyCharm to run the test:
python3 /opt/pycharm-community-4.5.2/helpers/pycharm/pytestrunner.py -p pytest_teamcity testing/test_pdb.py --capture=sysTo verify that the problem is as described TWO things need to be done:
- Remove the
--capture=sysfrom the command (or replace with--capture=fd) - Comment out line 25 in pytestrunner.py
args.append("-s") if "-s" not in args else None
This issue was originally reported/discussed on the mailing list.
Other info (probably not relevant):
- Issue found on master (commit ae28e4b)
- OS: Ubuntu 15.04
- Java version Oracle JRE 1.8.0_25
- PyCharm 4.5.2
- Python version 3.4.3
Cephlin
Metadata
Metadata
Assignees
Labels
status: needs informationreporter needs to provide more information; can be closed after 2 or more weeks of inactivityreporter needs to provide more information; can be closed after 2 or more weeks of inactivity