File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ language: python
33
44env :
55 global :
6- - PYTEST_ADDOPTS="-vv --cov --cov-report=xml"
6+ - PYTEST_ADDOPTS="-s - vv --cov --cov-report=xml"
77
88jobs :
99 include :
Original file line number Diff line number Diff line change @@ -46,8 +46,6 @@ def test_cmd_instantiation_crash():
4646 read_spec (spec , HistoricalTestReader )
4747
4848
49- @pytest .mark .skipif ("os.name != 'posix' or 'darwin' in sys.platform or "
50- "'kfreebsd' in sys.platform" )
5149def test_signal_failure (monkeypatch ):
5250 import os
5351 import pty
@@ -61,15 +59,22 @@ def really_failing_signal(a, b):
6159 raise AssertionError
6260
6361 mfd , sfd = pty .openpty ()
62+ print ("openpty" , mfd , sfd )
6463 try :
6564 with sane_term ():
6665 c = UnixConsole (sfd , sfd )
66+ print ("c" , c )
6767 c .prepare ()
68+ print ("prepared" )
6869 c .restore ()
70+ print ("restored" )
6971 monkeypatch .setattr (signal , 'signal' , failing_signal )
7072 c .prepare ()
73+ print ("prepared 2" )
7174 monkeypatch .setattr (signal , 'signal' , really_failing_signal )
7275 c .restore ()
76+ print ("restored 2" )
7377 finally :
78+ print ("finally" )
7479 os .close (mfd )
7580 os .close (sfd )
You can’t perform that action at this time.
0 commit comments