Staging
v0.5.1
https://github.com/python/cpython
Revision 7cd08cf62086a8a2d84fd825dfcd8bfe33bf1986 authored by Victor Stinner on 26 February 2019, 01:47:47 UTC, committed by larryhastings on 26 February 2019, 01:47:47 UTC
The xml.sax and xml.dom.domreg modules now obey
sys.flags.ignore_environment.

Signed-off-by: Christian Heimes <christian@python.org>

(cherry picked from commit 223e501fb9c2b6ae21b96054e20c4c31d94a5d96)
1 parent ef33dd6
Raw File
Tip revision: 7cd08cf62086a8a2d84fd825dfcd8bfe33bf1986 authored by Victor Stinner on 26 February 2019, 01:47:47 UTC
bpo-34791: xml package obeys ignore env flags (GH-9544) (#11871)
Tip revision: 7cd08cf
test_doctest2.txt
This is a sample doctest in a text file.

In this example, we'll rely on some silly setup:

  >>> import test.test_doctest
  >>> test.test_doctest.sillySetup
  True

This test also has some (random) encoded (utf-8) unicode text:

  ЉЊЈЁЂ

This doesn't cause a problem in the tect surrounding the examples, but
we include it here (in this test text file) to make sure. :)
back to top