comparison tests/doctest.txt @ 8:15c7171941ea

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