From 6ca737e3265d5860895bdcae98e07c9a1aea03dd Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 3 Jul 2017 17:06:02 +0200 Subject: [PATCH] bpo-30759: Fix test_multibytecodec_support TestBase_Mapping doesn't inherit from unittest.TestCase anymore, but object, since it's not a real test case but only a base base. All child classes already inherit from unittest.TestCase. --- Lib/test/test_multibytecodec_support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_multibytecodec_support.py b/Lib/test/test_multibytecodec_support.py index 1631e46e397bcf..1237881cad3c1c 100644 --- a/Lib/test/test_multibytecodec_support.py +++ b/Lib/test/test_multibytecodec_support.py @@ -256,7 +256,7 @@ def test_streamwriter(self): self.assertEqual(ostream.getvalue(), self.tstring[0]) -class TestBase_Mapping(unittest.TestCase): +class TestBase_Mapping(object): pass_enctest = [] pass_dectest = [] supmaps = []