From d8d3bad84f9fe8b9e12f8a7c1ab8631421009207 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Tue, 4 Jan 2011 00:24:44 +0000 Subject: [PATCH] osx: add patch needed for python tests to work --- osx/patches/tests.diff | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 osx/patches/tests.diff diff --git a/osx/patches/tests.diff b/osx/patches/tests.diff new file mode 100644 index 000000000..7c4a4f7ae --- /dev/null +++ b/osx/patches/tests.diff @@ -0,0 +1,14 @@ +Index: tests/run_tests.py +=================================================================== +--- tests/run_tests.py (revision 2488) ++++ tests/run_tests.py (working copy) +@@ -46,7 +46,8 @@ + + if not quiet: + print "- mapnik2 path: %s" % mapnik2.__file__ +- print "- _mapnik2.so path: %s" % mapnik2._mapnik2.__file__ ++ if hasattr(mapnik2,'_mapnik2'): ++ print "- _mapnik2.so path: %s" % mapnik2._mapnik2.__file__ + print "- Input plugins path: %s" % mapnik2.inputpluginspath + print "- Font path: %s" % mapnik2.fontscollectionpath + print