source: trunk/tests/__init__.py @ 765

Last change on this file since 765 was 644, checked in by cito, 4 years ago

Make tests compatible with Python 2.6

File size: 298 bytes
Line 
1"""PyGreSQL test suite.
2
3You can specify your local database settings in LOCAL_PyGreSQL.py.
4
5"""
6
7try:
8    import unittest2 as unittest  # for Python < 2.7
9except ImportError:
10    import unittest
11
12
13def discover():
14    loader = unittest.TestLoader()
15    suite = loader.discover('.')
16    return suite
Note: See TracBrowser for help on using the repository browser.