summaryrefslogtreecommitdiffstats
path: root/libdimension-python/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-05-17 10:16:13 -0600
committerTavian Barnes <tavianator@gmail.com>2011-05-17 10:16:13 -0600
commit8a0acb317cf4870b3893849e6565833c611095bd (patch)
treefecaad419a72d47f3160d8e54a8d99a20d6ffef5 /libdimension-python/tests
parent793e26099e597f61a89f34312be76ac0e63090a9 (diff)
downloaddimension-8a0acb317cf4870b3893849e6565833c611095bd.tar.xz
Add dieOnWarnings() to python module.
Diffstat (limited to 'libdimension-python/tests')
-rwxr-xr-xlibdimension-python/tests/demo.py3
1 files changed, 3 insertions, 0 deletions
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()