Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
192f6782
Commit
192f6782
authored
Aug 03, 2010
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try to fix test_struct.py on some buildbots.
parent
ee1e2c90
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Lib/test/test_struct.py
Lib/test/test_struct.py
+1
-1
No files found.
Lib/test/test_struct.py
View file @
192f6782
...
@@ -493,7 +493,7 @@ class StructTest(unittest.TestCase):
...
@@ -493,7 +493,7 @@ class StructTest(unittest.TestCase):
def
test_issue4228
(
self
):
def
test_issue4228
(
self
):
# Packing a long may yield either 32 or 64 bits
# Packing a long may yield either 32 or 64 bits
with
_check_py3k_warnings
((
"struct integer overflow masking is deprecated"
,
with
_check_py3k_warnings
((
"struct integer overflow masking is deprecated"
,
DeprecationWarning
)):
DeprecationWarning
)
,
quite
=
True
):
x
=
struct
.
pack
(
'L'
,
-
1
)[:
4
]
x
=
struct
.
pack
(
'L'
,
-
1
)[:
4
]
self
.
assertEqual
(
x
,
'
\
xff
'
*
4
)
self
.
assertEqual
(
x
,
'
\
xff
'
*
4
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment