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
83a8c393
Commit
83a8c393
authored
Dec 25, 2005
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test_bug_1333982(): This one must fail under -O.
All the --all test pass using -O on WinXP now.
parent
903a9444
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
Lib/test/test_dis.py
Lib/test/test_dis.py
+4
-1
No files found.
Lib/test/test_dis.py
View file @
83a8c393
...
...
@@ -121,7 +121,10 @@ class DisTests(unittest.TestCase):
self
.
do_disassembly_test
(
bug708901
,
dis_bug708901
)
def
test_bug_1333982
(
self
):
self
.
do_disassembly_test
(
bug1333982
,
dis_bug1333982
)
# This one is checking bytecodes generated for an `assert` statement,
# so fails if the tests are run with -O. Skip this test then.
if
__debug__
:
self
.
do_disassembly_test
(
bug1333982
,
dis_bug1333982
)
def
test_main
():
run_unittest
(
DisTests
)
...
...
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