
GITHUB . COM {
}
Detected CMS Systems:
- Wordpress (2 occurrences)
Title:
"UnicodeEncodeError: 'ascii' codec can't encode character" in OutcomeException with Python 2 Β· Issue #1178 Β· pytest-dev/pytest
Description:
When using a unicode string in Python 2 with pytest.fail, there is an internal error. This happens with jedi-vim's tests, when adding a u in front of the string passed to pytest.fail (https://g...
Website Age:
17 years and 8 months (reg. 2007-10-09).
Matching Content Categories {π}
- Personal Finance
- Technology & Computing
- Video & Online Content
Content Management System {π}
What CMS is github.com built with?
Github.com is built with WORDPRESS.
Traffic Estimate {π}
What is the average monthly size of github.com audience?
ππ Tremendous Traffic: 10M - 20M visitors per month
Based on our best estimate, this website will receive around 10,000,019 visitors per month in the current month.
However, some sources were not loaded, we suggest to reload the page to get complete results.
check SE Ranking
check Ahrefs
check Similarweb
check Ubersuggest
check Semrush
How Does Github.com Make Money? {πΈ}
Subscription Packages {π³}
We've located a dedicated page on github.com that might include details about subscription plans or recurring payments. We identified it based on the word pricing in one of its internal links. Below, you'll find additional estimates for its monthly recurring revenues.How Much Does Github.com Make? {π°}
Subscription Packages {π³}
Prices on github.com are in US Dollars ($).
They range from $4.00/month to $21.00/month.
We estimate that the site has approximately 4,989,889 paying customers.
The estimated monthly recurring revenue (MRR) is $20,957,532.
The estimated annual recurring revenues (ARR) are $251,490,385.
Wordpress Themes and Plugins {π¨}
What WordPress theme does this site use?
It is strange but we were not able to detect any theme on the page.
What WordPress plugins does this website use?
It is strange but we were not able to detect any plugins on the page.
Keywords {π}
internalerror, file, line, pyenvenvsjedivimlibpythonsitepackagespytestvendoredpackagespluggypy, return, kwargs, nicoddemus, pytest, issue, call, execute, pyenvenvsjedivimlibpythonsitepackagespytestrunnerpy, type, mentioned, sign, unicodeencodeerror, python, blueyed, pytestfail, added, pull, projects, ascii, codec, encode, character, internal, error, tests, pyenvenvsjedivimlibpythonsitepackagespytestmainpy, selfhookexecself, selfnonwrappers, selfwrappers, hookexec, selfinnerhookexechook, methods, lambda, multicallmethods, hookspecoptsexecute, res, hookimplfunctionargs, bug, commented, commit, references, nonascii, navigation, requests, actions, security,
Topics {βοΈ}
/wilywampa/jedi-vim/blob/37b47b6fa6d245eae66aeb53a55257b7e3a99808/conftest 10/envs/jedi-vim2/lib/python2 7/site-packages/_pytest/vendored_packages/pluggy 7/site-packages/_pytest/main 7/site-packages/_pytest/runner 7/site-packages/_pytest/skipping 7/site-packages/_pytest/python encode character u'\u2026' 24d3e01 nicoddemus mentioned jedi-vim' pytest-dev/fix-1178 internal pytest error 416bbff mdengler mentioned minor type fixes fd0010e jsonn added ascii characters raises type projects nicoddemus added projects milestone internal error addressed type update pytest requirements-dev encode character pytest-xdist unicode string failing test u'\u2717 {0}' 'ascii' codec nicoddemus item=item string passed exitstatus = doit session=session nextitem=nextitem result = func style=style milestone relationships personal information python 2 recent call call print bug problem tests write call=call pytest pytest 2 pytest_runtest_makereport fail tests hook_impl
Payment Methods {π}
- Braintree
Questions {β}
- Already have an account?
- Any ETA when this might be fixed?
Schema {πΊοΈ}
DiscussionForumPosting:
context:https://schema.org
headline:"UnicodeEncodeError: 'ascii' codec can't encode character" in OutcomeException with Python 2
articleBody:When using a unicode string in Python 2 with `pytest.fail`, there is an internal error.
This happens with jedi-vim's tests, when adding a `u` in front of the string passed to `pytest.fail` (https://github.com/wilywampa/jedi-vim/blob/37b47b6fa6d245eae66aeb53a55257b7e3a99808/conftest.py#L22-L25).
```
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/main.py", line 90, in wrap_session
INTERNALERROR> session.exitstatus = doit(config, session) or 0
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/main.py", line 121, in _main
INTERNALERROR> config.hook.pytest_runtestloop(session=session)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 724, in __call__
INTERNALERROR> return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 338, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 333, in <lambda>
INTERNALERROR> _MultiCall(methods, kwargs, hook.spec_opts).execute()
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 596, in execute
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/main.py", line 146, in pytest_runtestloop
INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 724, in __call__
INTERNALERROR> return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 338, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 333, in <lambda>
INTERNALERROR> _MultiCall(methods, kwargs, hook.spec_opts).execute()
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 595, in execute
INTERNALERROR> return _wrapped_call(hook_impl.function(*args), self.execute)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 253, in _wrapped_call
INTERNALERROR> return call_outcome.get_result()
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 279, in get_result
INTERNALERROR> _reraise(*ex) # noqa
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 264, in __init__
INTERNALERROR> self.result = func()
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 596, in execute
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/runner.py", line 65, in pytest_runtest_protocol
INTERNALERROR> runtestprotocol(item, nextitem=nextitem)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/runner.py", line 75, in runtestprotocol
INTERNALERROR> reports.append(call_and_report(item, "call", log))
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/runner.py", line 121, in call_and_report
INTERNALERROR> report = hook.pytest_runtest_makereport(item=item, call=call)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 724, in __call__
INTERNALERROR> return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 338, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 333, in <lambda>
INTERNALERROR> _MultiCall(methods, kwargs, hook.spec_opts).execute()
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 595, in execute
INTERNALERROR> return _wrapped_call(hook_impl.function(*args), self.execute)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 249, in _wrapped_call
INTERNALERROR> wrap_controller.send(call_outcome)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/skipping.py", line 170, in pytest_runtest_makereport
INTERNALERROR> rep = outcome.get_result()
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 279, in get_result
INTERNALERROR> _reraise(*ex) # noqa
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 264, in __init__
INTERNALERROR> self.result = func()
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 596, in execute
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/runner.py", line 224, in pytest_runtest_makereport
INTERNALERROR> longrepr = item.repr_failure(excinfo)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/python.py", line 732, in repr_failure
INTERNALERROR> return self._repr_failure_py(excinfo, style=style)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/python.py", line 723, in _repr_failure_py
INTERNALERROR> return str(excinfo.value)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/runner.py", line 433, in __repr__
INTERNALERROR> return str(self.msg)
INTERNALERROR> UnicodeEncodeError: 'ascii' codec can't encode character u'\u2026' in position 2069: ordinal not in range(128)
```
pytest 2.8.2
author:
url:https://github.com/blueyed
type:Person
name:blueyed
datePublished:2015-11-11T12:13:57.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:3
url:https://github.com/1178/pytest/issues/1178
context:https://schema.org
headline:"UnicodeEncodeError: 'ascii' codec can't encode character" in OutcomeException with Python 2
articleBody:When using a unicode string in Python 2 with `pytest.fail`, there is an internal error.
This happens with jedi-vim's tests, when adding a `u` in front of the string passed to `pytest.fail` (https://github.com/wilywampa/jedi-vim/blob/37b47b6fa6d245eae66aeb53a55257b7e3a99808/conftest.py#L22-L25).
```
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/main.py", line 90, in wrap_session
INTERNALERROR> session.exitstatus = doit(config, session) or 0
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/main.py", line 121, in _main
INTERNALERROR> config.hook.pytest_runtestloop(session=session)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 724, in __call__
INTERNALERROR> return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 338, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 333, in <lambda>
INTERNALERROR> _MultiCall(methods, kwargs, hook.spec_opts).execute()
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 596, in execute
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/main.py", line 146, in pytest_runtestloop
INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 724, in __call__
INTERNALERROR> return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 338, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 333, in <lambda>
INTERNALERROR> _MultiCall(methods, kwargs, hook.spec_opts).execute()
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 595, in execute
INTERNALERROR> return _wrapped_call(hook_impl.function(*args), self.execute)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 253, in _wrapped_call
INTERNALERROR> return call_outcome.get_result()
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 279, in get_result
INTERNALERROR> _reraise(*ex) # noqa
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 264, in __init__
INTERNALERROR> self.result = func()
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 596, in execute
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/runner.py", line 65, in pytest_runtest_protocol
INTERNALERROR> runtestprotocol(item, nextitem=nextitem)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/runner.py", line 75, in runtestprotocol
INTERNALERROR> reports.append(call_and_report(item, "call", log))
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/runner.py", line 121, in call_and_report
INTERNALERROR> report = hook.pytest_runtest_makereport(item=item, call=call)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 724, in __call__
INTERNALERROR> return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 338, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 333, in <lambda>
INTERNALERROR> _MultiCall(methods, kwargs, hook.spec_opts).execute()
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 595, in execute
INTERNALERROR> return _wrapped_call(hook_impl.function(*args), self.execute)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 249, in _wrapped_call
INTERNALERROR> wrap_controller.send(call_outcome)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/skipping.py", line 170, in pytest_runtest_makereport
INTERNALERROR> rep = outcome.get_result()
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 279, in get_result
INTERNALERROR> _reraise(*ex) # noqa
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 264, in __init__
INTERNALERROR> self.result = func()
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 596, in execute
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/runner.py", line 224, in pytest_runtest_makereport
INTERNALERROR> longrepr = item.repr_failure(excinfo)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/python.py", line 732, in repr_failure
INTERNALERROR> return self._repr_failure_py(excinfo, style=style)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/python.py", line 723, in _repr_failure_py
INTERNALERROR> return str(excinfo.value)
INTERNALERROR> File "β¦/pyenv/2.7.10/envs/jedi-vim2/lib/python2.7/site-packages/_pytest/runner.py", line 433, in __repr__
INTERNALERROR> return str(self.msg)
INTERNALERROR> UnicodeEncodeError: 'ascii' codec can't encode character u'\u2026' in position 2069: ordinal not in range(128)
```
pytest 2.8.2
author:
url:https://github.com/blueyed
type:Person
name:blueyed
datePublished:2015-11-11T12:13:57.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:3
url:https://github.com/1178/pytest/issues/1178
Person:
url:https://github.com/blueyed
name:blueyed
url:https://github.com/blueyed
name:blueyed
InteractionCounter:
interactionType:https://schema.org/CommentAction
userInteractionCount:3
interactionType:https://schema.org/CommentAction
userInteractionCount:3
External Links {π}(2)
Analytics and Tracking {π}
- Site Verification - Google
Libraries {π}
- Clipboard.js
- D3.js
- Lodash
Emails and Hosting {βοΈ}
Mail Servers:
- aspmx.l.google.com
- alt1.aspmx.l.google.com
- alt2.aspmx.l.google.com
- alt3.aspmx.l.google.com
- alt4.aspmx.l.google.com
Name Servers:
- dns1.p08.nsone.net
- dns2.p08.nsone.net
- dns3.p08.nsone.net
- dns4.p08.nsone.net
- ns-1283.awsdns-32.org
- ns-1707.awsdns-21.co.uk
- ns-421.awsdns-52.com
- ns-520.awsdns-01.net