pygtksourceview: fix test (#13338)

This commit is contained in:
Tom Schoonjans 2017-05-08 05:17:12 +01:00 committed by ilovezfs
parent fe4663b353
commit c7095ac496

View file

@ -25,6 +25,8 @@ class Pygtksourceview < Formula
end
test do
ENV.append_path "PYTHONPATH", lib+"python2.7/site-packages"
ENV.append_path "PYTHONPATH", Formula["pygtk"].opt_lib+"python2.7/site-packages/gtk-2.0"
system "python", "-c", "import gtksourceview2"
end
end