@@ -4159,6 +4159,17 @@ def test_basic(self):
41594159 msg = 'Record not found in event log, went back %d records' % GO_BACK
41604160 self .assertTrue (found , msg = msg )
41614161
4162+
4163+ class MiscTestCase (unittest .TestCase ):
4164+ def test__all__ (self ):
4165+ blacklist = {'logThreads' , 'logMultiprocessing' ,
4166+ 'logProcesses' , 'currentframe' ,
4167+ 'PercentStyle' , 'StrFormatStyle' , 'StringTemplateStyle' ,
4168+ 'Filterer' , 'PlaceHolder' , 'Manager' , 'RootLogger' ,
4169+ 'root' }
4170+ support .check__all__ (self , logging , blacklist = blacklist )
4171+
4172+
41624173# Set the locale to the platform-dependent default. I have no idea
41634174# why the test does this, but in any case we save the current locale
41644175# first and restore it at the end.
@@ -4175,7 +4186,8 @@ def test_main():
41754186 RotatingFileHandlerTest , LastResortTest , LogRecordTest ,
41764187 ExceptionTest , SysLogHandlerTest , HTTPHandlerTest ,
41774188 NTEventLogHandlerTest , TimedRotatingFileHandlerTest ,
4178- UnixSocketHandlerTest , UnixDatagramHandlerTest , UnixSysLogHandlerTest )
4189+ UnixSocketHandlerTest , UnixDatagramHandlerTest , UnixSysLogHandlerTest ,
4190+ MiscTestCase )
41794191
41804192if __name__ == "__main__" :
41814193 test_main ()
0 commit comments