From: Mike Bayer Date: Sun, 23 Oct 2005 17:01:53 +0000 (+0000) Subject: (no commit message) X-Git-Tag: rel_0_1_0~458 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d77cffb945eda8dc291065ee7bcd6a76c0181df;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git --- diff --git a/test/pool.py b/test/pool.py index c7613eb48e..811bda51ae 100644 --- a/test/pool.py +++ b/test/pool.py @@ -20,6 +20,14 @@ class PoolTest(PersistTest): self.assert_(connection.cursor() is not None) self.assert_(connection is connection2) self.assert_(connection2 is not connection3) + + def testbadargs(self): + manager = pool.manage(sqlite) + + try: + connection = manager.connect(None) + except: + pass def testnonthreadlocalmanager(self): manager = pool.manage(sqlite, use_threadlocal = False)