diff options
author | Bob Ippolito <bob@redivi.com> | 2006-05-30 17:37:54 (GMT) |
---|---|---|
committer | Bob Ippolito <bob@redivi.com> | 2006-05-30 17:37:54 (GMT) |
commit | 4182a755717a6c05637ec1a44445e4524102928b (patch) | |
tree | 41b4f22418c1b8018e1922c2b2268b1116ec4bda /Lib | |
parent | 93eff6fecd6563c04ab6a15c546f00852ef8e639 (diff) | |
download | cpython-4182a755717a6c05637ec1a44445e4524102928b.zip cpython-4182a755717a6c05637ec1a44445e4524102928b.tar.gz cpython-4182a755717a6c05637ec1a44445e4524102928b.tar.bz2 |
Change wrapping terminology to overflow masking
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_struct.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_struct.py b/Lib/test/test_struct.py index 9f43c09..da7f40c 100644 --- a/Lib/test/test_struct.py +++ b/Lib/test/test_struct.py @@ -15,10 +15,10 @@ try: import _struct except ImportError: PY_STRUCT_RANGE_CHECKING = 0 - PY_STRUCT_WRAPPING = 1 + PY_STRUCT_OVERFLOW_MASKING = 1 else: PY_STRUCT_RANGE_CHECKING = getattr(_struct, '_PY_STRUCT_RANGE_CHECKING', 0) - PY_STRUCT_WRAPPING = getattr(_struct, '_PY_STRUCT_WRAPPING', 0) + PY_STRUCT_OVERFLOW_MASKING = getattr(_struct, '_PY_STRUCT_OVERFLOW_MASKING', 0) def string_reverse(s): chars = list(s) @@ -62,7 +62,7 @@ def deprecated_err(func, *args): except (struct.error, TypeError): pass except DeprecationWarning: - if not PY_STRUCT_WRAPPING: + if not PY_STRUCT_OVERFLOW_MASKING: raise TestFailed, "%s%s expected to raise struct.error" % ( func.__name__, args) else: |