def test_contains_unicode(self, testdir):
    'Fix internal error with docstrings containing non-ascii characters.\n        '
    testdir.makepyfile('            def foo():\n                """\n                >>> name = \'с\' # not letter \'c\' but instead Cyrillic \'s\'.\n                \'anything\'\n                """\n            ')
    result = testdir.runpytest('--doctest-modules')
    result.stdout.fnmatch_lines(['Got nothing', '* 1 failed in*'])
Fix internal error with docstrings containing non-ascii characters.
def test_contains_unicode(self, testdir):
    '\n        '
    testdir.makepyfile('            def foo():\n                "\n                >>> name = \'с\' # not letter \'c\' but instead Cyrillic \'s\'.\n                \'anything\'\n                "\n            ')
    result = testdir.runpytest('--doctest-modules')
    result.stdout.fnmatch_lines(['Got nothing', '* 1 failed in*'])