comparison tests/doctest.txt @ 9:aa673036ecc1

correct string
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 08 Jul 2011 13:10:20 -0700
parents 5905459d4ebe
children d1f090c5f291
comparison
equal deleted inserted replaced
8:5905459d4ebe 9:aa673036ecc1
9 Make a temporary directory:: 9 Make a temporary directory::
10 10
11 >>> import tempfile 11 >>> import tempfile
12 >>> directory = tempfile.mkdtemp() 12 >>> directory = tempfile.mkdtemp()
13 13
14 Run some tests:: 14 Invoke carton::
15 15
16 >>> os.chdir(directory) 16 >>> os.chdir(directory)
17 >>> packages = [os.path.join(here, i) for i in 'packageB', 'packageA'] 17 >>> packages = [os.path.join(here, i) for i in 'packageB', 'packageA']
18 >>> carton.main(['foo'] + packages) 18 >>> carton.main(['foo'] + packages)
19 >>> os.listdir('.') 19 >>> os.listdir('.')