Skip to content

Instantly share code, notes, and snippets.

@darjeeling
Created October 20, 2012 16:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darjeeling/3923839 to your computer and use it in GitHub Desktop.
Save darjeeling/3923839 to your computer and use it in GitHub Desktop.
wand test error
python -mwand.version --verbose
Wand 0.3.0
ImageMagick 6.6.9-7 2012-08-17 Q16 http://www.imagemagick.org
dj@djbhome:~/wand/wand$ python setup.py build
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/wand
copying wand/__init__.py -> build/lib.linux-x86_64-2.7/wand
copying wand/display.py -> build/lib.linux-x86_64-2.7/wand
copying wand/image.py -> build/lib.linux-x86_64-2.7/wand
copying wand/version.py -> build/lib.linux-x86_64-2.7/wand
copying wand/exceptions.py -> build/lib.linux-x86_64-2.7/wand
copying wand/color.py -> build/lib.linux-x86_64-2.7/wand
copying wand/resource.py -> build/lib.linux-x86_64-2.7/wand
copying wand/api.py -> build/lib.linux-x86_64-2.7/wand
dj@djbhome:~/wand/wand$ python setup.py test
running test
Checking .pth file support in .
/usr/bin/python -E -c pass
Searching for Attest
Reading http://pypi.python.org/simple/Attest/
Reading https://github.com/dag/attest
Reading http://packages.python.org/Attest/
Best match: Attest 0.5.3
Downloading http://pypi.python.org/packages/source/A/Attest/Attest-0.5.3.tar.gz#md5=ea70bf4784f0010fe5282cc666f344cf
Processing Attest-0.5.3.tar.gz
Running Attest-0.5.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-LgfLck/Attest-0.5.3/egg-dist-tmp-xM45Yw
Installed /home/dj/wand/wand/Attest-0.5.3-py2.7.egg
Searching for Pygments
Reading http://pypi.python.org/simple/Pygments/
Reading http://pygments.org/
Reading http://pygments.pocoo.org/
Best match: Pygments 1.5
Downloading http://pypi.python.org/packages/2.7/P/Pygments/Pygments-1.5-py2.7.egg#md5=8ea02c2eafb2580336b7637be629f7ce
Processing Pygments-1.5-py2.7.egg
creating /home/dj/wand/wand/Pygments-1.5-py2.7.egg
Extracting Pygments-1.5-py2.7.egg to /home/dj/wand/wand
Installed /home/dj/wand/wand/Pygments-1.5-py2.7.egg
Searching for progressbar>=2.3
Reading http://pypi.python.org/simple/progressbar/
Reading http://code.google.com/p/python-progressbar/
Reading http://code.google.com/p/python-progressbar
Best match: progressbar 2.3
Downloading http://python-progressbar.googlecode.com/files/progressbar-2.3.tar.gz
Processing progressbar-2.3.tar.gz
Running progressbar-2.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-xg5rvl/progressbar-2.3/egg-dist-tmp-2MLD8y
zip_safe flag not set; analyzing archive contents...
Installed /home/dj/wand/wand/progressbar-2.3-py2.7.egg
running egg_info
creating Wand.egg-info
writing requirements to Wand.egg-info/requires.txt
writing Wand.egg-info/PKG-INFO
writing top-level names to Wand.egg-info/top_level.txt
writing dependency_links to Wand.egg-info/dependency_links.txt
writing manifest file 'Wand.egg-info/SOURCES.txt'
reading manifest file 'Wand.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'Wand.egg-info/SOURCES.txt'
running build_ext
[100%] 64 of 64 Time: 0:01:05
wandtests.image.channel_images
────────────────────────────────────────────────────────────────────────────────
Traceback (most recent call last):
File "/home/dj/wand/wand/wandtests/image.py", line 865, in channel_images
assert actual == {
TestFailure
assert (actual == {'blue': get_sig_version({(6, 6, 9, 7): 'b56f0c0763b49d4b0661d0bf7028d82a66d0d15817ff5c6fd68a3c76377bd05a', (6, 7, 7, 6): 'a372637ff6256ed45c07b7be04617b99cea024dbd6dd961492a1906f419d3f84'}), 'gray': get_sig_version({(6, 6, 9, 7): 'ee84ed5532ade43e28c1f8baa0d522351aee73ff0265d188797d457f1df2bc82', (6, 7, 7, 6): 'bac4906578408e0f46b1943f96c8c39273997659feb005e581e7ddfa0ba1da41'}), 'true_alpha': get_sig_version({(6, 6, 9, 7): '3da06216c40cdb4011339bed11804714bf262ac7c20e7eaa5401ed3218e9e59f', (6, 7, 7, 6): '3da06216c40cdb4011339bed11804714bf262ac7c20e7eaa5401ed3218e9e59f'}), 'opacity': get_sig_version({(6, 6, 9, 7): '0e7d4136121208cf6c2e12017ffe9c487e8ada5fca1ad76b06bc41ad8a932de3', (6, 7, 7, 6): '0e7d4136121208cf6c2e12017ffe9c487e8ada5fca1ad76b06bc41ad8a932de3'}), 'undefined': get_sig_version({(6, 6, 9, 7): 'b68db111c7d6a58301d9d824671ed810b790d397429d2988dcdeb7562729bb46', (6, 7, 7, 6): 'd659b35502ac753c52cc44d488c78acdc0201e65a7e9c5d7715ff79dbb0b24b3'}), 'composite_channels': get_sig_version({(6, 6, 9, 7): 'b68db111c7d6a58301d9d824671ed810b790d397429d2988dcdeb7562729bb46', (6, 7, 7, 6): 'd659b35502ac753c52cc44d488c78acdc0201e65a7e9c5d7715ff79dbb0b24b3'}), 'index': get_sig_version({(6, 6, 9, 7): 'b68db111c7d6a58301d9d824671ed810b790d397429d2988dcdeb7562729bb46', (6, 7, 7, 6): 'd659b35502ac753c52cc44d488c78acdc0201e65a7e9c5d7715ff79dbb0b24b3'}), 'rgb_channels': get_sig_version({(6, 6, 9, 7): '269c6106340012485c5fb45319a3138f458338884de20fd05851001f86781eea', (6, 7, 7, 6): 'dffde420ada9506e6eabd6f3b905006042517c0344fa3c4e009bf94ccd4e9356'}), 'yellow': get_sig_version({(6, 6, 9, 7): 'b56f0c0763b49d4b0661d0bf7028d82a66d0d15817ff5c6fd68a3c76377bd05a', (6, 7, 7, 6): 'a372637ff6256ed45c07b7be04617b99cea024dbd6dd961492a1906f419d3f84'}), 'black': get_sig_version({(6, 6, 9, 7): 'b68db111c7d6a58301d9d824671ed810b790d397429d2988dcdeb7562729bb46', (6, 7, 7, 6): 'd659b35502ac753c52cc44d488c78acdc0201e65a7e9c5d7715ff79dbb0b24b3'}), 'sync_channels': get_sig_version({(6, 6, 9, 7): 'b68db111c7d6a58301d9d824671ed810b790d397429d2988dcdeb7562729bb46', (6, 7, 7, 6): 'd659b35502ac753c52cc44d488c78acdc0201e65a7e9c5d7715ff79dbb0b24b3'}), 'default_channels': get_sig_version({(6, 6, 9, 7): 'b68db111c7d6a58301d9d824671ed810b790d397429d2988dcdeb7562729bb46', (6, 7, 7, 6): 'd659b35502ac753c52cc44d488c78acdc0201e65a7e9c5d7715ff79dbb0b24b3'}), 'green': get_sig_version({(6, 6, 9, 7): 'ee703ad96996a796d47f34f9afdc74b689817320d2b6e6423c4c2f7e4ed076db', (6, 7, 7, 6): '87139d62ff097e312ab4cc1859ee2db6066c9845de006f38163b325d405df782'}), 'cyan': get_sig_version({(6, 6, 9, 7): 'ee84ed5532ade43e28c1f8baa0d522351aee73ff0265d188797d457f1df2bc82', (6, 7, 7, 6): 'bac4906578408e0f46b1943f96c8c39273997659feb005e581e7ddfa0ba1da41'}), 'all_channels': get_sig_version({(6, 6, 9, 7): 'b68db111c7d6a58301d9d824671ed810b790d397429d2988dcdeb7562729bb46', (6, 7, 7, 6): 'd659b35502ac753c52cc44d488c78acdc0201e65a7e9c5d7715ff79dbb0b24b3'}), 'alpha': get_sig_version({(6, 6, 9, 7): '0e7d4136121208cf6c2e12017ffe9c487e8ada5fca1ad76b06bc41ad8a932de3', (6, 7, 7, 6): '0e7d4136121208cf6c2e12017ffe9c487e8ada5fca1ad76b06bc41ad8a932de3'}), 'magenta': get_sig_version({(6, 6, 9, 7): 'ee703ad96996a796d47f34f9afdc74b689817320d2b6e6423c4c2f7e4ed076db', (6, 7, 7, 6): '87139d62ff097e312ab4cc1859ee2db6066c9845de006f38163b325d405df782'}), 'red': get_sig_version({(6, 6, 9, 7): 'ee84ed5532ade43e28c1f8baa0d522351aee73ff0265d188797d457f1df2bc82', (6, 7, 7, 6): 'bac4906578408e0f46b1943f96c8c39273997659feb005e581e7ddfa0ba1da41'}), 'gray_channels': get_sig_version({(6, 6, 9, 7): '269c6106340012485c5fb45319a3138f458338884de20fd05851001f86781eea', (6, 7, 7, 6): 'dffde420ada9506e6eabd6f3b905006042517c0344fa3c4e009bf94ccd4e9356'})})
assert ({'opacity': '0e7d4136121208cf6c2e12017ffe9c487e8ada5fca1ad76b06bc41ad8a932de3', 'gray': 'ee84ed5532ade43e28c1f8baa0d522351aee73ff0265d188797d457f1df2bc82', 'true_alpha': '3da06216c40cdb4011339bed11804714bf262ac7c20e7eaa5401ed3218e9e59f', 'undefined': 'b68db111c7d6a58301d9d824671ed810b790d397429d2988dcdeb7562729bb46', 'composite_channels': 'b68db111c7d6a58301d9d824671ed810b790d397429d2988dcdeb7562729bb46', 'index': 'b68db111c7d6a58301d9d824671ed810b790d397429d2988dcdeb7562729bb46', 'rgb_channels': '76f09c126924df8debb42b1952ff0775c7b746a0b5a8a61befd7ce58a3cd20d7', 'blue': 'b56f0c0763b49d4b0661d0bf7028d82a66d0d15817ff5c6fd68a3c76377bd05a', 'yellow': 'b56f0c0763b49d4b0661d0bf7028d82a66d0d15817ff5c6fd68a3c76377bd05a', 'black': 'b68db111c7d6a58301d9d824671ed810b790d397429d2988dcdeb7562729bb46', 'sync_channels': 'b68db111c7d6a58301d9d824671ed810b790d397429d2988dcdeb7562729bb46', 'default_channels': 'b68db111c7d6a58301d9d824671ed810b790d397429d2988dcdeb7562729bb46', 'green': 'ee703ad96996a796d47f34f9afdc74b689817320d2b6e6423c4c2f7e4ed076db', 'cyan': 'ee84ed5532ade43e28c1f8baa0d522351aee73ff0265d188797d457f1df2bc82', 'all_channels': 'b68db111c7d6a58301d9d824671ed810b790d397429d2988dcdeb7562729bb46', 'alpha': '0e7d4136121208cf6c2e12017ffe9c487e8ada5fca1ad76b06bc41ad8a932de3', 'magenta': 'ee703ad96996a796d47f34f9afdc74b689817320d2b6e6423c4c2f7e4ed076db', 'red': 'ee84ed5532ade43e28c1f8baa0d522351aee73ff0265d188797d457f1df2bc82', 'gray_channels': '76f09c126924df8debb42b1952ff0775c7b746a0b5a8a61befd7ce58a3cd20d7'} == {'blue': 'b56f0c0763b49d4b0661d0bf7028d82a66d0d15817ff5c6fd68a3c76377bd05a', 'gray': 'ee84ed5532ade43e28c1f8baa0d522351aee73ff0265d188797d457f1df2bc82', 'true_alpha': '3da06216c40cdb4011339bed11804714bf262ac7c20e7eaa5401ed3218e9e59f', 'opacity': '0e7d4136121208cf6c2e12017ffe9c487e8ada5fca1ad76b06bc41ad8a932de3', 'undefined': 'b68db111c7d6a58301d9d824671ed810b790d397429d2988dcdeb7562729bb46', 'composite_channels': 'b68db111c7d6a58301d9d824671ed810b790d397429d2988dcdeb7562729bb46', 'index': 'b68db111c7d6a58301d9d824671ed810b790d397429d2988dcdeb7562729bb46', 'rgb_channels': '269c6106340012485c5fb45319a3138f458338884de20fd05851001f86781eea', 'yellow': 'b56f0c0763b49d4b0661d0bf7028d82a66d0d15817ff5c6fd68a3c76377bd05a', 'black': 'b68db111c7d6a58301d9d824671ed810b790d397429d2988dcdeb7562729bb46', 'sync_channels': 'b68db111c7d6a58301d9d824671ed810b790d397429d2988dcdeb7562729bb46', 'default_channels': 'b68db111c7d6a58301d9d824671ed810b790d397429d2988dcdeb7562729bb46', 'green': 'ee703ad96996a796d47f34f9afdc74b689817320d2b6e6423c4c2f7e4ed076db', 'cyan': 'ee84ed5532ade43e28c1f8baa0d522351aee73ff0265d188797d457f1df2bc82', 'all_channels': 'b68db111c7d6a58301d9d824671ed810b790d397429d2988dcdeb7562729bb46', 'alpha': '0e7d4136121208cf6c2e12017ffe9c487e8ada5fca1ad76b06bc41ad8a932de3', 'magenta': 'ee703ad96996a796d47f34f9afdc74b689817320d2b6e6423c4c2f7e4ed076db', 'red': 'ee84ed5532ade43e28c1f8baa0d522351aee73ff0265d188797d457f1df2bc82', 'gray_channels': '269c6106340012485c5fb45319a3138f458338884de20fd05851001f86781eea'})
Failures: 1/64 (60877 assertions)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment