From 52cc1d838f4fee573e57b5b182d8e5f5db63240f Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sun, 18 Mar 2007 15:41:51 +0000 Subject: Implement PEP 3115 -- new metaclass syntax and semantics. The compiler package hasn't been updated yet; test_compiler.py fails. Otherwise all tests seem to be passing now. There are no occurrences of __metaclass__ left in the standard library. Docs have not been updated. --- Lib/unittest.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'Lib/unittest.py') diff --git a/Lib/unittest.py b/Lib/unittest.py index cde310f8a7..eab0372cad 100644 --- a/Lib/unittest.py +++ b/Lib/unittest.py @@ -84,9 +84,6 @@ if sys.version_info[:2] < (2, 2): # Test framework core ############################################################################## -# All classes defined herein are 'new-style' classes, allowing use of 'super()' -__metaclass__ = type - def _strclass(cls): return "%s.%s" % (cls.__module__, cls.__name__) -- cgit v1.2.1