Fix problem reported by pychecker where AuthenticationError wasn't imported.

Add some test coverage to this code.  More tests should be added (TODO added).

R=Brett
TESTED=./python -E -tt ./Lib/test/regrtest.py test_multiprocessing
This commit is contained in:
Neal Norwitz 2008-08-25 01:50:24 +00:00
parent 971f10210e
commit 0c519b3a5e
2 changed files with 34 additions and 2 deletions

View file

@ -17,7 +17,7 @@ import tempfile
import itertools
import _multiprocessing
from multiprocessing import current_process
from multiprocessing import current_process, AuthenticationError
from multiprocessing.util import get_temp_dir, Finalize, sub_debug, debug
from multiprocessing.forking import duplicate, close