Mercurial > hg > MakeItSo
comparison examples/doctest.txt @ 117:de1ecefe301c
minor docstring correction
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 20 Jan 2011 17:59:37 -0800 |
parents | 908e9a653668 |
children |
comparison
equal
deleted
inserted
replaced
116:908e9a653668 | 117:de1ecefe301c |
---|---|
150 >>> tempdir = tempfile.mkdtemp() | 150 >>> tempdir = tempfile.mkdtemp() |
151 >>> variables = dict([(i, i) for i in missing]) | 151 >>> variables = dict([(i, i) for i in missing]) |
152 >>> projdir = os.path.join(tempdir, 'MyProject') | 152 >>> projdir = os.path.join(tempdir, 'MyProject') |
153 >>> template.substitute(variables, output=projdir) | 153 >>> template.substitute(variables, output=projdir) |
154 | 154 |
155 Make sure this actually worked:: | 155 Make sure you actually get a package:: |
156 | 156 |
157 >>> cwd = os.getcwd() | 157 >>> cwd = os.getcwd() |
158 >>> os.chdir(projdir) | 158 >>> os.chdir(projdir) |
159 >>> os.path.exists('setup.py') | 159 >>> os.path.exists('setup.py') |
160 True | 160 True |