[cairo-commit] pycairo/test test.py,1.1,1.2

Steve Chaplin commit at pdx.freedesktop.org
Fri Apr 8 19:58:45 PDT 2005


Committed by: stevech1097

Update of /cvs/cairo/pycairo/test
In directory gabe:/tmp/cvs-serv31834/test

Modified Files:
	test.py 
Log Message:
SC 2005/04/09

Index: test.py
===================================================================
RCS file: /cvs/cairo/pycairo/test/test.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- test.py	12 Mar 2005 10:28:18 -0000	1.1
+++ test.py	9 Apr 2005 02:58:43 -0000	1.2
@@ -1,6 +1,7 @@
 #!/usr/bin/env python
 
 import os
+import sys
 import doctest
 import unittest
 
@@ -14,4 +15,6 @@
 
 
 if __name__ == "__main__":
-     _test()
+    if sys.version_info < (2,4):
+        raise SystemExit ("Python 2.4 or higher required")
+    _test()




More information about the cairo-commit mailing list