'L{Platform.isWinNT} is deprecated in favor of L{platform.isWindows}.'

def test_isWinNTDeprecated(self):

    platform = Platform()
    platform.isWinNT()
    warnings = self.flushWarnings([self.test_isWinNTDeprecated])
    self.assertEqual(len(warnings), 1)
    self.assertEqual(warnings[0]['message'], self.isWinNTDeprecationMessage)
