Back to index

python3.2  3.2.2
Classes | Functions
test.test_bigaddrspace Namespace Reference


class  BytesTest
class  StrTest


def test_main

Detailed Description

These tests are meant to exercise that requests to create objects bigger
than what the address space allows are properly met with an OverflowError
(rather than crash weirdly).

Primarily, this means 32-bit builds with at least 2 GB of available memory.
You need to pass the -M option to regrtest (e.g. "-M 2.1G") for tests to
be enabled.

Function Documentation

Definition at line 95 of file

00096 def test_main():
00097     support.run_unittest(BytesTest, StrTest)