summaryrefslogtreecommitdiffstats
path: root/pym/portage/tests/locks
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-12-10 12:05:38 -0800
committerZac Medico <zmedico@gentoo.org>2011-12-10 12:05:38 -0800
commitcc567a89c6813341913055a8250c241fa737be84 (patch)
treee3eccb54f2831e16532adbf281e9216246913fbb /pym/portage/tests/locks
parent4735e8a0ef6e3182b05c9e9d0e27202d19db619a (diff)
downloadportage-cc567a89c6813341913055a8250c241fa737be84.tar.gz
portage-cc567a89c6813341913055a8250c241fa737be84.tar.bz2
portage-cc567a89c6813341913055a8250c241fa737be84.zip
Use portage.shutil for safer unicode handling.
Diffstat (limited to 'pym/portage/tests/locks')
-rw-r--r--pym/portage/tests/locks/test_asynchronous_lock.py2
-rw-r--r--pym/portage/tests/locks/test_lock_nonblock.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/tests/locks/test_asynchronous_lock.py b/pym/portage/tests/locks/test_asynchronous_lock.py
index 8946caf89..0d6f11656 100644
--- a/pym/portage/tests/locks/test_asynchronous_lock.py
+++ b/pym/portage/tests/locks/test_asynchronous_lock.py
@@ -1,11 +1,11 @@
# Copyright 2010-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-import shutil
import signal
import tempfile
from portage import os
+from portage import shutil
from portage.tests import TestCase
from _emerge.AsynchronousLock import AsynchronousLock
from _emerge.PollScheduler import PollScheduler
diff --git a/pym/portage/tests/locks/test_lock_nonblock.py b/pym/portage/tests/locks/test_lock_nonblock.py
index d5748ad62..cc1b28e82 100644
--- a/pym/portage/tests/locks/test_lock_nonblock.py
+++ b/pym/portage/tests/locks/test_lock_nonblock.py
@@ -1,12 +1,12 @@
# Copyright 2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-import shutil
import tempfile
import traceback
import portage
from portage import os
+from portage import shutil
from portage.tests import TestCase
class LockNonblockTestCase(TestCase):