Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 16 lines (12 sloc) 0.344 kb
a8c8936 Use the testcases from python 2.7 instead of python 3. Removed Dialect a...
Jaap Roes authored
1 import unittest2
3dbb1b1 Also run doctests, made tests pass (except 2). Added tox.ini so testing ...
Jaap Roes authored
2 import doctest
a8c8936 Use the testcases from python 2.7 instead of python 3. Removed Dialect a...
Jaap Roes authored
3
4 def get_suite():
5 loader = unittest2.TestLoader()
6 suite = loader.discover('unicodecsv')
3dbb1b1 Also run doctests, made tests pass (except 2). Added tox.ini so testing ...
Jaap Roes authored
7 suite.addTest(doctest.DocTestSuite('unicodecsv'))
8
a8c8936 Use the testcases from python 2.7 instead of python 3. Removed Dialect a...
Jaap Roes authored
9 return suite
10
11 if __name__ == '__main__':
02343aa Jeremy Dunck Final 2 tests passing, thanks for the boost, EightMedia.
authored
12 result = unittest2.TestResult()
13 get_suite().run(result)
14 for error in result.errors:
15 print error
Something went wrong with that request. Please try again.