1
|
1 # -*- coding: utf-8 -*-
|
|
2 #
|
|
3 # Copyright (C) 2006 Christopher Lenz
|
|
4 # All rights reserved.
|
|
5 #
|
|
6 # This software is licensed as described in the file COPYING, which
|
|
7 # you should have received as part of this distribution. The terms
|
27
|
8 # are also available at http://markup.cmlenz.net/wiki/License.
|
1
|
9 #
|
|
10 # This software consists of voluntary contributions made by many
|
|
11 # individuals. For the exact contribution history, see the revision
|
27
|
12 # history and logs, available at hhttp://markup.cmlenz.net/log/.
|
1
|
13
|
|
14 import doctest
|
|
15 import unittest
|
|
16
|
27
|
17 from markup.eval import Expression
|
1
|
18
|
|
19 def suite():
|
|
20 suite = unittest.TestSuite()
|
27
|
21 suite.addTest(doctest.DocTestSuite(Expression.__module__))
|
1
|
22 return suite
|
|
23
|
|
24 if __name__ == '__main__':
|
|
25 unittest.main(defaultTest='suite')
|