From 8a0acb317cf4870b3893849e6565833c611095bd Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 17 May 2011 10:16:13 -0600 Subject: Add dieOnWarnings() to python module. --- libdimension-python/tests/demo.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libdimension-python/tests') diff --git a/libdimension-python/tests/demo.py b/libdimension-python/tests/demo.py index 10fe2ed..e9cdc7b 100755 --- a/libdimension-python/tests/demo.py +++ b/libdimension-python/tests/demo.py @@ -21,4 +21,7 @@ from dimension import * +# Treat warnings as errors for tests +dieOnWarnings(True) + scene = Scene() -- cgit v1.2.3