From 7fdeb73bdb0f416aee34d28740363852a9fd4999 Mon Sep 17 00:00:00 2001 From: Hong Minhee Date: Sun, 4 Aug 2013 18:13:18 +0900 Subject: [PATCH] At least until 6.6.9-7 IM itself has a memory leak And Travis CI still use IM 6.6.9-7 #127 --- tests/color_test.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/color_test.py b/tests/color_test.py index a43bf0ed..1c2a537c 100644 --- a/tests/color_test.py +++ b/tests/color_test.py @@ -2,9 +2,11 @@ import time from memory_profiler import memory_usage +from pytest import mark from wand.color import Color from wand.compat import xrange +from wand.version import MAGICK_VERSION_INFO def test_equals(): @@ -105,6 +107,7 @@ def color_memory_leak(): time.sleep(0.02) +@mark.skipif('MAGICK_VERSION_INFO <= (6, 6, 9, 7)') def test_memory_leak(): """https://github.com/dahlia/wand/pull/127""" consumes = memory_usage((color_memory_leak, (), {}))