From 67e4dd923ef53733d6a5aac35b25123a0b2ddec2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20=28kix=29?= Date: Sun, 30 Aug 2020 12:20:50 +0200 Subject: [PATCH] TestOfflineimapGlobals renamed variable This variable should be named cls. --- test/tests/test_00_globals.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/tests/test_00_globals.py b/test/tests/test_00_globals.py index c882789..3469cf5 100755 --- a/test/tests/test_00_globals.py +++ b/test/tests/test_00_globals.py @@ -15,9 +15,9 @@ class Opt: class TestOfflineimapGlobals(unittest.TestCase): @classmethod - def setUpClass(klass): - klass.o = Opt() - globals.set_options(klass.o) + def setUpClass(cls): + cls.o = Opt() + globals.set_options(cls.o) def test_initial_state(self): for k in self.o.__dict__.keys():