def test_number_and_allow_unicode(self, testdir):
    testdir.maketxtfile(test_doc="\n            >>> from collections import namedtuple\n            >>> T = namedtuple('T', 'a b c')\n            >>> T(a=0.2330000001, b=u'str', c=b'bytes') # doctest: +ALLOW_UNICODE, +ALLOW_BYTES, +NUMBER\n            T(a=0.233, b=u'str', c='bytes')\n            ")
    reprec = testdir.inline_run()
    reprec.assertoutcome(passed=1)
def test_number_and_allow_unicode(self, testdir):
    testdir.maketxtfile(test_doc="\n            >>> from collections import namedtuple\n            >>> T = namedtuple('T', 'a b c')\n            >>> T(a=0.2330000001, b=u'str', c=b'bytes') # doctest: +ALLOW_UNICODE, +ALLOW_BYTES, +NUMBER\n            T(a=0.233, b=u'str', c='bytes')\n            ")
    reprec = testdir.inline_run()
    reprec.assertoutcome(passed=1)