diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-08-21 20:01:32 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-08-21 20:01:32 +0000 |
commit | 43d3b773072b07fc19f6eebcd121db99b6370e00 (patch) | |
tree | 0ca6f75cfe577a50198c368bd488a91639797e59 /test/engine/proxy_engine.py | |
parent | 4ca1de17832b49423dd448f7becc600a459e8cbf (diff) | |
download | sqlalchemy-43d3b773072b07fc19f6eebcd121db99b6370e00.tar.gz |
- unit tests updated to run without any pysqlite installed; pool
test uses a mock DBAPI
Diffstat (limited to 'test/engine/proxy_engine.py')
-rw-r--r-- | test/engine/proxy_engine.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/test/engine/proxy_engine.py b/test/engine/proxy_engine.py index 5b957b4dc..26b738e41 100644 --- a/test/engine/proxy_engine.py +++ b/test/engine/proxy_engine.py @@ -85,9 +85,16 @@ class ProxyEngineTest1(ProxyTestBase): class ThreadProxyTest(ProxyTestBase): def tearDownAll(self): - os.remove('threadtesta.db') - os.remove('threadtestb.db') + try: + os.remove('threadtesta.db') + except OSError: + pass + try: + os.remove('threadtestb.db') + except OSError: + pass + @testbase.supported('sqlite') def test_multi_thread(self): from threading import Thread |