BF: if no /dev/log on Linux -- don't expect setting syslog to work

This commit is contained in:
Yaroslav Halchenko 2015-04-28 23:51:00 -04:00
parent ced4852383
commit c0e1333fe6

View file

@ -802,7 +802,7 @@ class TransmitterLogging(TransmitterBase):
outValue=Exception('Failed to change log target'),
repr_=True # Exceptions are not comparable apparently
)
}[platform.system() in ('Linux',)]
}[platform.system() in ('Linux',) and os.path.exists('/dev/log')]
)
def testLogLevel(self):