1
Silence DeprecationWarning output from Python 2.6.
2
--- pyx-0.10.orig/pyx/text.py
3
+++ pyx-0.10/pyx/text.py
5
import config, siteconfig, unit, box, canvas, trafo, version, attr, style, dvifile
6
import bbox as bboxmodule
8
+# Suppress this python 2.6 warning
10
+warnings.filterwarnings("ignore", r".*popen.*", DeprecationWarning, "pyx\.text")
12
###############################################################################
14
# - please don't get confused: