~robert-kern/ipython/pretty

« back to all changes in this revision

Viewing changes to IPython/frontend/tests/test_process.py

  • Committer: Brian Granger
  • Date: 2008-09-06 07:23:26 UTC
  • mfrom: (1109.1.23 trunk-dev)
  • Revision ID: ellisonbg@gmail.com-20080906072326-6f6eebv01jnqcm9y
This set of changes fixes numerous bugs related to Windows and
the test suite.  At this point all tests should pass or skip
on all the major platforms.  I have also fixed the Windows
post install script, so that it creates .bat and .py files
for all the ip* scripts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
from IPython.frontend._process import PipedProcess
20
20
from IPython.testing import decorators as testdec
21
21
 
 
22
 
 
23
# FIXME
 
24
@testdec.skip("This doesn't work under Windows")
22
25
def test_capture_out():
23
26
    """ A simple test to see if we can execute a process and get the output.
24
27
    """
29
32
    result = s.getvalue().rstrip()
30
33
    assert result == '1'
31
34
 
 
35
 
32
36
# FIXME
33
37
@testdec.skip("This doesn't work under Windows")
34
38
def test_io():
47
51
    assert result == test_string
48
52
 
49
53
 
 
54
# FIXME
 
55
@testdec.skip("This doesn't work under Windows")
50
56
def test_kill():
51
57
    """ Check that we can kill a process, and its subprocess.
52
58
    """