~ubuntu-branches/ubuntu/precise/python3.2/precise-proposed

« back to all changes in this revision

Viewing changes to Lib/test/test_xml_etree_c.py

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2012-03-09 18:40:39 UTC
  • mfrom: (30.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20120309184039-j3yk2emxr1plyo21
Tags: 3.2.3~rc1-1
* Python 3.2.3 release candidate 1.
* Update to 20120309 from the 3.2 branch.
* Fix libpython.a symlink. Closes: #660146.
* Build-depend on xauth.
* Run the gdb tests for the debug build only.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# xml.etree test for cElementTree
2
2
 
3
3
from test import support
4
 
from test.support import precisionbigmemtest, _2G
 
4
from test.support import bigmemtest, _2G
5
5
import unittest
6
6
 
7
7
cET = support.import_module('xml.etree.cElementTree')
35
35
 
36
36
class MiscTests(unittest.TestCase):
37
37
    # Issue #8651.
38
 
    @support.precisionbigmemtest(size=support._2G + 100, memuse=1)
 
38
    @support.bigmemtest(size=support._2G + 100, memuse=1)
39
39
    def test_length_overflow(self, size):
40
40
        if size < support._2G + 100:
41
41
            self.skipTest("not enough free memory, need at least 2 GB")