-
-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-30778: Skip test_bsddb3 on Windows XP #2877
Conversation
PR closed then reopened to retry AppVeyor. Previously, AppVeyor failed with: "continuous-integration/appveyor/pr — AppVeyor was unable to build non-mergeable pull request". |
Lib/test/test_bsddb3.py
Outdated
@@ -28,6 +28,10 @@ | |||
verbose = False | |||
sys.argv.remove('silent') | |||
|
|||
# bpo-30778: test_bsddb3 crashs randomly on Windows XP | |||
if hasattr(sys, 'getwindowsversion') and sys.getwindowsversion()[:2] <= (6, 0): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
6.0 was Vista which we don't want to skip, so <
rather than <=
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, I know that, it's a mistake. It's now fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could play code golf to get it down to (or beyond) if getattr(sys, 'getwindowsversion', lambda: (9,))()[:1] < (6,):
, but this is fine as is :)
Nice one, but I prefer my syntax ;-) |
https://bugs.python.org/issue30778