Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 503046 Details for
Bug 636830
app-text/pytextile-2.3.3 : E AssertionError: assert == (276, 110)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-text:pytextile-2.3.3:20171107-141351.log
app-text:pytextile-2.3.3:20171107-141351.log (text/plain), 12.07 KB, created by
Toralf Förster
on 2017-11-07 18:14:51 UTC
(
hide
)
Description:
app-text:pytextile-2.3.3:20171107-141351.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2017-11-07 18:14:51 UTC
Size:
12.07 KB
patch
obsolete
> * Package: app-text/pytextile-2.3.3 > * Repository: gentoo > * Maintainer: python@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_4 test userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking pytextile-2.3.3.tar.gz to /var/tmp/portage/app-text/pytextile-2.3.3/work >>>> Source unpacked in /var/tmp/portage/app-text/pytextile-2.3.3/work >>>> Preparing source in /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3 ... > * python2_7: running distutils-r1_run_phase distutils-r1_python_compile >/usr/bin/python2.7 setup.py build >running build >running build_py >creating /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python2_7/lib/textile >copying textile/version.py -> /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python2_7/lib/textile >copying textile/utils.py -> /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python2_7/lib/textile >copying textile/textilefactory.py -> /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python2_7/lib/textile >copying textile/regex_strings.py -> /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python2_7/lib/textile >copying textile/core.py -> /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python2_7/lib/textile >copying textile/__init__.py -> /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python2_7/lib/textile >creating /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python2_7/lib/textile/tools >copying textile/tools/sanitizer.py -> /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python2_7/lib/textile/tools >copying textile/tools/imagesize.py -> /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python2_7/lib/textile/tools >copying textile/tools/__init__.py -> /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python2_7/lib/textile/tools >creating /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python2_7/lib/textile/objects >copying textile/objects/table.py -> /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python2_7/lib/textile/objects >copying textile/objects/block.py -> /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python2_7/lib/textile/objects >copying textile/objects/__init__.py -> /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python2_7/lib/textile/objects >running egg_info >creating textile.egg-info >writing requirements to textile.egg-info/requires.txt >writing textile.egg-info/PKG-INFO >writing top-level names to textile.egg-info/top_level.txt >writing dependency_links to textile.egg-info/dependency_links.txt >writing manifest file 'textile.egg-info/SOURCES.txt' >reading manifest file 'textile.egg-info/SOURCES.txt' >writing manifest file 'textile.egg-info/SOURCES.txt' >warning: build_py: byte-compiling is disabled, skipping. > > * python3_4: running distutils-r1_run_phase distutils-r1_python_compile >/usr/bin/python3.4 setup.py build >running build >running build_py >creating /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python3_4/lib/textile >copying textile/version.py -> /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python3_4/lib/textile >copying textile/utils.py -> /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python3_4/lib/textile >copying textile/textilefactory.py -> /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python3_4/lib/textile >copying textile/regex_strings.py -> /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python3_4/lib/textile >copying textile/core.py -> /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python3_4/lib/textile >copying textile/__init__.py -> /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python3_4/lib/textile >creating /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python3_4/lib/textile/tools >copying textile/tools/sanitizer.py -> /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python3_4/lib/textile/tools >copying textile/tools/imagesize.py -> /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python3_4/lib/textile/tools >copying textile/tools/__init__.py -> /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python3_4/lib/textile/tools >creating /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python3_4/lib/textile/objects >copying textile/objects/table.py -> /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python3_4/lib/textile/objects >copying textile/objects/block.py -> /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python3_4/lib/textile/objects >copying textile/objects/__init__.py -> /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3-python3_4/lib/textile/objects >running egg_info >writing dependency_links to textile.egg-info/dependency_links.txt >writing top-level names to textile.egg-info/top_level.txt >writing textile.egg-info/PKG-INFO >writing requirements to textile.egg-info/requires.txt >reading manifest file 'textile.egg-info/SOURCES.txt' >writing manifest file 'textile.egg-info/SOURCES.txt' >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. >>>> Test phase: app-text/pytextile-2.3.3 > * python2_7: running distutils-r1_run_phase python_test >============================= test session starts ============================== >platform linux2 -- Python 2.7.14, pytest-3.2.2, py-1.4.34, pluggy-0.4.0 >metadata: {'Python': '2.7.14', 'Platform': 'Linux-4.13.11-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1', 'Packages': {'py': '1.4.34', 'pytest': u'3.2.2', 'pluggy': '0.4.0'}, 'Plugins': {'virtualenv': '1.2.11', 'cov': '2.5.1', 'backports.unittest-mock': '1.3', 'xdist': '1.15.0', 'xprocess': '0.12.1', 'pep8': '1.0.6', 'flaky': '3.4.0', 'catchlog': '1.2.2', 'expect': '1.1.0', 'timeout': '1.2.0', 'forked': '0.2', 'shutil': '1.2.11', 'arraydiff': '0.1', 'metadata': '1.3.0'}} >rootdir: /var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3, inifile: pytest.ini >plugins: xprocess-0.12.1, xdist-1.15.0, virtualenv-1.2.11, timeout-1.2.0, shutil-1.2.11, pep8-1.0.6, metadata-1.3.0, forked-0.2, expect-1.1.0, cov-2.5.1, catchlog-1.2.2, arraydiff-0.1, flaky-3.4.0, backports.unittest-mock-1.3 >collected 182 items > >tests/test_attributes.py . >tests/test_block.py .. >tests/test_footnoteRef.py . >tests/test_getRefs.py . >tests/test_getimagesize.py F >tests/test_github_issues.py ......... >tests/test_glyphs.py . >tests/test_image.py . >tests/test_imagesize.py F >tests/test_lists.py . >tests/test_retrieve.py . >tests/test_span.py . >tests/test_subclassing.py . >tests/test_table.py . >tests/test_textile.py .......F........... >tests/test_textilefactory.py . >tests/test_urls.py .. >tests/test_utils.py .... >tests/test_values.py .....................................................................................................................................Coverage.py warning: No data was collected. > > >---------- coverage: platform linux2, python 2.7.14-final-0 ---------- >Name Stmts Miss Branch BrPart Cover Missing >------------------------------------------------------------------------- >textile/__init__.py 9 9 2 0 0% 1-15 >textile/core.py 694 694 264 0 3% 3-1365 >textile/objects/__init__.py 3 3 0 0 0% 1-4 >textile/objects/block.py 80 80 28 0 0% 1-123 >textile/objects/table.py 153 153 44 0 2% 2-227 >textile/regex_strings.py 23 23 0 0 0% 3-56 >textile/textilefactory.py 24 24 10 0 0% 1-39 >textile/tools/__init__.py 0 0 0 0 100% >textile/tools/imagesize.py 21 21 6 0 7% 1-30 >textile/tools/sanitizer.py 12 12 0 0 0% 1-20 >textile/utils.py 150 150 58 0 0% 1-217 >textile/version.py 1 1 0 0 0% 1 >------------------------------------------------------------------------- >TOTAL 1170 1170 412 0 2% >Coverage HTML written to dir htmlcov > >===Flaky Test Report=== > > >===End Flaky Test Report=== > >=================================== FAILURES =================================== >________________________________ test_imagesize ________________________________ > > def test_imagesize(): >> assert getimagesize("http://www.google.com/intl/en_ALL/images/logo.gif") == (276, 110) >E AssertionError: assert '' == (276, 110) >E + where '' = getimagesize('http://www.google.com/intl/en_ALL/images/logo.gif') > >tests/test_getimagesize.py:7: AssertionError >________________________________ test_imagesize ________________________________ > > def test_imagesize(): > imgurl = 'http://www.google.com/intl/en_ALL/images/srpr/logo1w.png' > result = textile.tools.imagesize.getimagesize(imgurl) > try: > import PIL > > expect = (275, 95) >> assert result == expect >E AssertionError: assert '' == (275, 95) > >tests/test_imagesize.py:10: AssertionError >________________________________ test_imagesize ________________________________ > > def test_imagesize(): > PIL = pytest.importorskip('PIL') > > test = "!http://www.google.com/intl/en_ALL/images/srpr/logo1w.png!" > result = '\t<p><img alt="" height="95" src="http://www.google.com/intl/en_ALL/images/srpr/logo1w.png" width="275" /></p>' > expect = textile.Textile(get_sizes=True).parse(test) >> assert result == expect >E assert ' <p><img alt...="275" /></p>' == ' <p><img alt=...w.png" /></p>' >E - <p><img alt="" height="95" src="http://www.google.com/intl/en_ALL/images/srpr/logo1w.png" width="275" /></p> >E ? ------------ ------------ >E + <p><img alt="" src="http://www.google.com/intl/en_ALL/images/srpr/logo1w.png" /></p> > >tests/test_textile.py:93: AssertionError >===================== 3 failed, 179 passed in 2.57 seconds ===================== > * ERROR: app-text/pytextile-2.3.3::gentoo failed (test phase): > * Testsuite failed under python2.7 > * > * Call stack: > * ebuild.sh, line 124: Called src_test > * environment, line 3725: Called distutils-r1_src_test > * environment, line 1066: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 358: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 3244: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2351: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2349: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 653: Called distutils-r1_run_phase 'python_test' > * environment, line 997: Called python_test > * environment, line 3605: Called die > * The specific snippet of code: > * py.test || die "Testsuite failed under ${EPYTHON}" > * > * If you need support, post the output of `emerge --info '=app-text/pytextile-2.3.3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-text/pytextile-2.3.3::gentoo'`. > * The complete build log is located at '/var/log/portage/app-text:pytextile-2.3.3:20171107-141351.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/pytextile-2.3.3/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-text/pytextile-2.3.3/temp/environment'. > * Working directory: '/var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3' > * S: '/var/tmp/portage/app-text/pytextile-2.3.3/work/python-textile-2.3.3'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 636830
:
503044
| 503046 |
503048
|
503050
|
503052
|
503054
|
503056