X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=blobdiff_plain;f=tests%2Fdbtest_multiproc.py;h=04520208a2164f85d81735fe070d28f33bae7524;hp=f4c2a37aea0f2ffee7060dd85e2d801bb79d0aea;hb=7c5adcf962fe99d6a42307595f263f47d0112fbc;hpb=a881423355b3e9455f44bb88d806bc04a7c7e7e5 diff --git a/tests/dbtest_multiproc.py b/tests/dbtest_multiproc.py index f4c2a37a..04520208 100755 --- a/tests/dbtest_multiproc.py +++ b/tests/dbtest_multiproc.py @@ -9,7 +9,6 @@ from time import sleep import unittest def read_number(): - DBConn().reset() session = DBConn().session() result = session.query('foo').from_statement('select 7 as foo').scalar() sleep(0.1) @@ -18,9 +17,7 @@ def read_number(): class MultiProcTestCase(DBDakTestCase): """ - This TestCase checks that DBConn works with multiprocessing. A fresh - subprocess needs to call reset() on DBConn(). See function read_number() - for an example. + This TestCase checks that DBConn works with multiprocessing. """ def save_result(self, result):