From 95441809ef77a8df5e14601ade6c054ef7114c02 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 29 Jan 2018 22:14:17 -0800 Subject: closes bpo-32721: do not fail test_hashlib if _md5 isn't available (GH-5441) --- Lib/test/test_hashlib.py | 2 +- Misc/NEWS.d/next/Tests/2018-01-29-21-30-44.bpo-32721.2Bebm1.rst | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 Misc/NEWS.d/next/Tests/2018-01-29-21-30-44.bpo-32721.2Bebm1.rst diff --git a/Lib/test/test_hashlib.py b/Lib/test/test_hashlib.py index 15fc22b..751f748 100644 --- a/Lib/test/test_hashlib.py +++ b/Lib/test/test_hashlib.py @@ -193,7 +193,7 @@ class HashLibTestCase(unittest.TestCase): try: import _md5 except ImportError: - pass + self.skipTest("_md5 module not available") # This forces an ImportError for "import _md5" statements sys.modules['_md5'] = None # clear the cache diff --git a/Misc/NEWS.d/next/Tests/2018-01-29-21-30-44.bpo-32721.2Bebm1.rst b/Misc/NEWS.d/next/Tests/2018-01-29-21-30-44.bpo-32721.2Bebm1.rst new file mode 100644 index 0000000..f4bf6aa --- /dev/null +++ b/Misc/NEWS.d/next/Tests/2018-01-29-21-30-44.bpo-32721.2Bebm1.rst @@ -0,0 +1 @@ +Fix test_hashlib to not fail if the _md5 module is not built. -- cgit v0.12 5_14'>QT_5_14 Qt s a cross-platform application framework that is used for developing application software that can be run on various software and hardware platforms with little or no change in the underlying codebase, while still being a native application with native capabilities and speed.
summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/medianodesnippet.cpp
diff options
context:
space:
mode:
authorZeno Albisser <zeno.albisser@nokia.com>2010-09-14 07:49:19 (GMT)
committerZeno Albisser <zeno.albisser@nokia.com>2010-09-14 07:51:07 (GMT)
commit740e1f88da76b9d52bc0b5600b808e91cec97f73 (patch)
treeaeb1ccf986c592115a1da871559d57238229c44a /doc/src/snippets/medianodesnippet.cpp
parent71ba591c5db9a09747f5f5a68539495848ffb00f (diff)
downloadQt-740e1f88da76b9d52bc0b5600b808e91cec97f73.zip
Qt-740e1f88da76b9d52bc0b5600b808e91cec97f73.tar.gz
Qt-740e1f88da76b9d52bc0b5600b808e91cec97f73.tar.bz2
expose GestureType for using in QML
Reviewed-by: Denis Dzyubenko