From 40770843ae04dd7d51028cd3b489d72ca4e72a8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Apitzsch?= Date: Sun, 10 Sep 2017 12:22:49 +0200 Subject: [PATCH] test_pluginmanager: fix imports --- test/test_pluginmanager.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/test_pluginmanager.py b/test/test_pluginmanager.py index 24f2046aa..71f99d987 100644 --- a/test/test_pluginmanager.py +++ b/test/test_pluginmanager.py @@ -38,8 +38,8 @@ configdir = gajim_root + '/test/tmp' import time # define _ for i18n -import __builtin__ -__builtin__._ = lambda x: x +import builtins +builtins._ = lambda x: x # wipe config directory import os @@ -54,7 +54,6 @@ gajim.common.configpaths.gajimpaths.init(configdir) # for some reason common.app needs to be imported before xmpppy? from gajim.common import app -from gajim.common import xmpp app.DATA_DIR = gajim_root + '/data'