Mercurial > hg > simpypi
comparison tests/test_ttw.txt @ 67:cf03c3f2f98e
this one fails too; something is rotten in the state of virtualenv
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Thu, 01 Mar 2012 19:40:10 -0800 |
| parents | a2ba66be2e31 |
| children | e62d2fddb275 |
comparison
equal
deleted
inserted
replaced
| 66:a2ba66be2e31 | 67:cf03c3f2f98e |
|---|---|
| 59 | 59 |
| 60 Make a virtualenv to install it in:: | 60 Make a virtualenv to install it in:: |
| 61 | 61 |
| 62 >>> tmpdir = tempfile.mkdtemp() | 62 >>> tmpdir = tempfile.mkdtemp() |
| 63 >>> venv = create_virtualenv(tmpdir) | 63 >>> venv = create_virtualenv(tmpdir) |
| 64 >>> code = subprocess.call([venv.python, '-c', 'import helloworld']) | |
| 65 >>> code | |
| 66 1 | |
| 64 >>> shutil.rmtree(tmpdir) | 67 >>> shutil.rmtree(tmpdir) |
| 65 | 68 |
| 66 Shut down the server:: | 69 Shut down the server:: |
| 67 | 70 |
| 68 >>> server.stop() | 71 >>> server.stop() |
