From: Victor Stinner Date: Wed, 26 Jul 2017 15:55:52 +0000 (+0200) Subject: bpo-30778: Skip test_bsddb3 on Windows XP (#2877) X-Git-Tag: v2.7.14rc1~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0cba38d207dc233707b09787e6618cfca44cc2b7;p=python bpo-30778: Skip test_bsddb3 on Windows XP (#2877) * bpo-30778: Skip test_bsddb3 on Windows XP * Fix if, don't skip Windows Vista --- diff --git a/Lib/test/test_bsddb3.py b/Lib/test/test_bsddb3.py index 099145b460..1a82325d49 100644 --- a/Lib/test/test_bsddb3.py +++ b/Lib/test/test_bsddb3.py @@ -28,6 +28,10 @@ if 'silent' in sys.argv: # take care of old flag, just in case 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): + raise unittest.SkipTest("bpo-30778: skip tests on Windows XP") + class TimingCheck(unittest.TestCase):