def test_ignored_whitespace(self, testdir):
    testdir.makeini('\n            [pytest]\n            doctest_optionflags = ELLIPSIS NORMALIZE_WHITESPACE\n        ')
    p = testdir.makepyfile('\n            class MyClass(object):\n                \'\'\'\n                >>> a = "foo    "\n                >>> print(a)\n                foo\n                \'\'\'\n                pass\n        ')
    reprec = testdir.inline_run(p, '--doctest-modules')
    reprec.assertoutcome(passed=1)
def test_ignored_whitespace(self, testdir):
    testdir.makeini('\n            [pytest]\n            doctest_optionflags = ELLIPSIS NORMALIZE_WHITESPACE\n        ')
    p = testdir.makepyfile('\n            class MyClass(object):\n                \'\'\'\n                >>> a = "foo    "\n                >>> print(a)\n                foo\n                \'\'\'\n                pass\n        ')
    reprec = testdir.inline_run(p, '--doctest-modules')
    reprec.assertoutcome(passed=1)