Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 620096 - dev-python/falcon-0.1.9 fails tests with python 3.6
Summary: dev-python/falcon-0.1.9 fails tests with python 3.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-29 10:17 UTC by Pacho Ramos
Modified: 2022-06-05 14:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.gz (falcon-0.1.9:20170529-101517.log.gz,16.39 KB, application/gzip)
2017-05-29 10:17 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2017-05-29 10:17:20 UTC
Created attachment 474624 [details]
build.log.gz

falcon.tests.test_wsgi_errors.TestWSGIError.test_responder_logged_unicode ... SKIP: Test only applies to Python 2

======================================================================
ERROR: falcon.tests.test_httperror.TestHTTPError.test_unicode
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/falcon-0.1.9/work/falcon-0.1.9/falcon/tests/test_httperror.py", line 257, in test_unicode
    self.assertEqual(expected_body, json.loads(body, 'utf-8'))
TypeError: loads() takes 1 positional argument but 2 were given


Name                         Stmts   Miss Branch BrPart  Cover
--------------------------------------------------------------
falcon.py                       11      0      0      0   100%
falcon/api.py                   91      0     26      0   100%
falcon/api_helpers.py           95      0     50      0   100%
falcon/exceptions.py            58      0      4      0   100%
falcon/hooks.py                 56      0     12      0   100%
falcon/http_error.py            29      0     10      0   100%
falcon/request.py              223      0     76      0   100%
falcon/request_helpers.py       29      0     12      0   100%
falcon/responders.py            20      0      0      0   100%
falcon/response.py              48      0     12      0   100%
falcon/response_helpers.py      17      0      2      0   100%
falcon/status_codes.py          90      0      0      0   100%
falcon/util.py                   3      0      0      0   100%
falcon/util/misc.py             37      0     10      0   100%
falcon/util/structures.py        1      0      0      0   100%
falcon/util/uri.py              35      0      6      0   100%
falcon/version.py                2      0      0      0   100%
--------------------------------------------------------------
TOTAL                          845      0    220      0   100%
----------------------------------------------------------------------
Ran 153 tests in 1.150s

FAILED (SKIP=1, errors=1)

Thanks
Comment 1 Larry the Git Cow gentoo-dev 2022-06-05 14:18:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be289ed6b157071036377872f22838915a28b896

commit be289ed6b157071036377872f22838915a28b896
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2022-06-05 14:09:27 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2022-06-05 14:16:22 +0000

    dev-python/falcon: treeclean
    
    Closes: https://bugs.gentoo.org/780522
    Closes: https://bugs.gentoo.org/620096
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 dev-python/falcon/Manifest            |  1 -
 dev-python/falcon/falcon-3.1.0.ebuild | 61 -----------------------------------
 dev-python/falcon/metadata.xml        | 12 -------
 profiles/package.mask                 |  1 -
 4 files changed, 75 deletions(-)