[Freeipa-devel] [freeipa PR#636][opened] [Py3] Fix ipatests.util doc tests

tiran freeipa-github-notification at redhat.com
Wed Mar 22 10:51:30 UTC 2017


   URL: https://github.com/freeipa/freeipa/pull/636
Author: tiran
 Title: #636: [Py3] Fix ipatests.util doc tests
Action: opened

PR body:
"""
Doctests of ipatests.util fail under Python 3.

The old test scenario does no longer work on Python 3 since u'how are you'
and 'how are you' have identical type, but u'how are you' != b'how are you'.
It works with int / float on all Python versions.

Python 2 has <type 'int'> while Python 3 uses <class 'int'>.

Signed-off-by: Christian Heimes <cheimes at redhat.com>
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/636/head:pr636
git checkout pr636
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pr-636.patch
Type: text/x-diff
Size: 3032 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20170322/1e5dfcef/attachment.bin>


More information about the Freeipa-devel mailing list