def test_unicode_string(self, testdir):
    'Test that doctests which output unicode fail in Python 2 when\n        the ALLOW_UNICODE option is not used. The same test should pass\n        in Python 3.\n        '
    testdir.maketxtfile(test_doc="\n            >>> b'12'.decode('ascii')\n            '12'\n        ")
    reprec = testdir.inline_run()
    reprec.assertoutcome(passed=1)
Test that doctests which output unicode fail in Python 2 when
the ALLOW_UNICODE option is not used. The same test should pass
in Python 3.
def test_unicode_string(self, testdir):
    'Test that doctests which output unicode fail in Python 2 when\n        the ALLOW_UNICODE option is not used. The same test should pass\n        in Python 3.\n        '
    testdir.maketxtfile(test_doc="\n            >>> b'12'.decode('ascii')\n            '12'\n        ")
    reprec = testdir.inline_run()
    reprec.assertoutcome(passed=1)