Skip to content
Snippets Groups Projects
Commit 38d0bf6e authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

Fix unit tests

parent 3d4e30aa
No related branches found
No related tags found
No related merge requests found
...@@ -35,3 +35,8 @@ class TestResources(unittest.TestCase): ...@@ -35,3 +35,8 @@ class TestResources(unittest.TestCase):
ret = do_call() # type: Future ret = do_call() # type: Future
cp.release_connection(conns.pop()) cp.release_connection(conns.pop())
ret.result(timeout=5) ret.result(timeout=5)
while conns:
cp.release_connection(conns.pop())
del cp
...@@ -66,7 +66,6 @@ class TestStuff(unittest.TestCase): ...@@ -66,7 +66,6 @@ class TestStuff(unittest.TestCase):
else: else:
self.fail('KeyError not raised') self.fail('KeyError not raised')
@unittest.skipIf(sys.implementation.name == 'cpython', 'Running on CPython')
def test_log_exceptions(self): def test_log_exceptions(self):
a = 5 a = 5
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment