Mercurial > hg > PaInt
comparison tests/doctest.txt @ 59:acee5e882768
the egg-info tests fail. yay!
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 25 Jan 2013 07:12:33 -0800 |
parents | d5e5c7496784 |
children | 1234bfb1f1f0 |
comparison
equal
deleted
inserted
replaced
58:13767ee2ddf4 | 59:acee5e882768 |
---|---|
21 >>> dummy_path = os.path.join(here, 'dummy') | 21 >>> dummy_path = os.path.join(here, 'dummy') |
22 >>> package_info = paint.info.SetupOverridePackageInfo(dummy_path) | 22 >>> package_info = paint.info.SetupOverridePackageInfo(dummy_path) |
23 >>> info = package_info() | 23 >>> info = package_info() |
24 >>> info['name'] | 24 >>> info['name'] |
25 'dummy' | 25 'dummy' |
26 | |
27 Now let's use the .egg-info way:: | |
28 | |
29 >>> package_info = paint.info.EggInfo(dummy_path) | |
30 >>> info = package_info() | |
31 >>> info['name'] | |
32 'dummy' |