Open jayvdb opened 4 years ago
This seems to mostly occur with URLs
______________ TestSetuppyMismatch.test_package__<'pydocumentdb'> ______________ args = (<tests.test_failures.TestSetuppyMismatch testMethod=test_package__<'pydocumentdb'>>, 'pydocumentdb') kwargs = {} @functools.wraps(base_func) def generated_func(*args, **kwargs): args += p_args kwargs.update(**p_kwargs) if 'context_targets' in accepted_generic_kwargs: kwargs.setdefault('context_targets', []) if 'label' in accepted_generic_kwargs: kwargs.setdefault('label', label) > return base_func(*args, **kwargs) .tox/py27/lib/python2.7/site-packages/unittest_expander.py:1951: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_failures.py:124: in test_package url = self._get_scm(name) tests/utils.py:98: in _get_scm url = self.converter.get_vcs(name) pypidb/_pypi.py:571: in get_vcs url = self._get_vcs_links(rule, name, data, inputs) pypidb/_pypi.py:311: in _get_vcs_links logger.debug("queue {}".format(queue)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[UnicodeEncodeError("'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)") raised in repr()] SafeRepr object at 0x7f2a63bd7d70> def __repr__(self): > return "{}({!r})".format(self.__class__.__name__, str(self)) E UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128) pypidb/_types.py:43: UnicodeEncodeError
This seems to mostly occur with URLs