]> granicus.if.org Git - python/commit
Add some testing to verify which module was imported in ET tests.
authorEli Bendersky <eliben@gmail.com>
Mon, 20 May 2013 00:49:54 +0000 (17:49 -0700)
committerEli Bendersky <eliben@gmail.com>
Mon, 20 May 2013 00:49:54 +0000 (17:49 -0700)
commite26fa1bdcbbffd5986630144a2e15795c5f83a19
treeb8365d25c370b85ec782458f273d3595dc4416f0
parent3a36756ba102724bb2771ca9c4dfd9eb3e9dd85b
Add some testing to verify which module was imported in ET tests.

This is useful when mucking with import_fresh_module to either force or block
importing of the _elementtree accelerator. These tests in place provide an
immediate indication whether the accelerator was actually imported and overrode
the classes it should have.
Lib/test/test_xml_etree.py
Lib/test/test_xml_etree_c.py