Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions 6 Lib/test/test_faulthandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,8 +777,10 @@ def test_raise_nonfatal_exception(self):
"""
)
self.assertEqual(output, [])
# Actual exception code has bit 4 cleared
self.assertEqual(exitcode, exc & ~0x10000000)
# On Windows older than 7 SP1, the actual exception code has
# bit 29 cleared.
self.assertIn(exitcode,
(exc, exc & ~0x10000000))

@unittest.skipUnless(MS_WINDOWS, 'specific to Windows')
def test_disable_windows_exc_handler(self):
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.