[cairo-commit] pycairo/test test.py,1.2,1.3
Steve Chaplin
commit at pdx.freedesktop.org
Wed Dec 12 04:14:21 PST 2007
Committed by: stevech1097
Update of /cvs/cairo/pycairo/test
In directory kemper:/tmp/cvs-serv7550/test
Modified Files:
test.py
Log Message:
'SC'
Index: test.py
===================================================================
RCS file: /cvs/cairo/pycairo/test/test.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- test.py 9 Apr 2005 02:58:43 -0000 1.2
+++ test.py 12 Dec 2007 12:14:19 -0000 1.3
@@ -8,13 +8,11 @@
def _test():
# check we are running from the test dir
assert os.getcwd().endswith('/test'), "test.py must be run from the 'test' directory"
-
+
runner = unittest.TextTestRunner()
suite = doctest.DocFileSuite (__file__.replace ('.py', '.test'))
runner.run(suite)
if __name__ == "__main__":
- if sys.version_info < (2,4):
- raise SystemExit ("Python 2.4 or higher required")
_test()
More information about the cairo-commit
mailing list