~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_xml.py

MergeĀ upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
#
13
13
# You should have received a copy of the GNU General Public License
14
14
# along with this program; if not, write to the Free Software
15
 
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
from cStringIO import StringIO
18
18
 
509
509
    """Whitebox testing of the _encode_and_escape function."""
510
510
 
511
511
    def setUp(self):
 
512
        TestCase.setUp(self)
512
513
        # Keep the cache clear before and after the test
513
514
        bzrlib.xml8._ensure_utf8_re()
514
515
        bzrlib.xml8._clear_cache()