Created
February 17, 2018 16:43
-
-
Save jaraco/bc5379aefa337c95376fa8b3139c2cf8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ~/p/pytest/.tox/python/bin/pytest -p no:capturemanager | |
====================================== test session starts ======================================= | |
platform darwin -- Python 3.6.4, pytest-3.4.1.dev34+gce1872e7.d20180213, py-1.5.2, pluggy-0.6.0 | |
rootdir: /Users/jaraco/Dropbox/code/public/pytest, inifile: tox.ini | |
plugins: hypothesis-3.44.26 | |
collected 1 item | |
test_stuff.py | |
>>>>>>>>>>>>>>>>>>>>>>>>>>>> PDB set_trace (IO-capturing turned off) >>>>>>>>>>>>>>>>>>>>>>>>>>>>> | |
--Return-- | |
> /Users/jaraco/Dropbox/code/public/pytest/test/test_stuff.py(4)test_stuff()->None | |
-> import pdb; pdb.set_trace() | |
(Pdb) F [100%] | |
==================================== short test summary info ===================================== | |
FAIL test_stuff.py::test_stuff | |
============================================ FAILURES ============================================ | |
___________________________________________ test_stuff ___________________________________________ | |
def test_stuff(): | |
> import pdb; pdb.set_trace() | |
test_stuff.py:4: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/bdb.py:52: in trace_dispatch | |
return self.dispatch_return(frame, arg) | |
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/bdb.py:93: in dispatch_return | |
self.user_return(frame, arg) | |
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/pdb.py:293: in user_return | |
self.interaction(frame, None) | |
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/pdb.py:352: in interaction | |
self._cmdloop() | |
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/pdb.py:321: in _cmdloop | |
self.cmdloop() | |
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/cmd.py:126: in cmdloop | |
line = input(self.prompt) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <_pytest.capture.DontReadFromInput object at 0x105822978>, args = () | |
def read(self, *args): | |
> raise IOError("reading from stdin while output is captured") | |
E OSError: reading from stdin while output is captured | |
../.tox/python/lib/python3.6/site-packages/_pytest/capture.py:565: OSError | |
==================================== 1 failed in 0.16 seconds ==================================== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment