Mercurial > hg > simpypi
comparison tests/doctest.txt @ 7:5ee4fe3decd9
more stubbing
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 28 Feb 2012 10:30:44 -0800 |
parents | 232e67cac00c |
children | 15c7171941ea |
comparison
equal
deleted
inserted
replaced
6:232e67cac00c | 7:5ee4fe3decd9 |
---|---|
1 Test PaInt | 1 Test simpypi |
2 ================ | 2 ============ |
3 | 3 |
4 The obligatory imports:: | 4 The obligatory imports:: |
5 | 5 |
6 >>> import shutil | |
6 >>> import simpypi | 7 >>> import simpypi |
7 >>> import tempfile | 8 >>> import tempfile |
8 | 9 |
9 Make a temporary package directory:: | 10 Make a temporary package directory:: |
10 | 11 |
11 >>> directory = tempfile.mkdtemp() | 12 >>> directory = tempfile.mkdtemp() |
13 | |
14 Cleanup:: | |
15 | |
16 >>> shutil.rmtree(directory) |