summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2011-01-03 17:29:58 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2011-01-03 20:45:03 +0100
commita01700d478765e8dc6044336f21fe84808569a0d (patch)
tree73eb27dc2638a8b1c3a2ac875af174fb639b7d34
parent39dd577c90a1f79c06d0613e73c2addbd53a4468 (diff)
downloadpsycopg2-a01700d478765e8dc6044336f21fe84808569a0d.tar.gz
Fixed test suite execution as a script
Don't know why I changed the defaultTest argument into a function when I converted the test suite into a package: that argument should be really a string.
-rwxr-xr-xtests/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/__init__.py b/tests/__init__.py
index b0b7cd0..2bdfdd8 100755
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -55,4 +55,4 @@ def test_suite():
return suite
if __name__ == '__main__':
- unittest.main(defaultTest=test_suite)
+ unittest.main(defaultTest='test_suite')