def test_isWinNTDeprecated(self):
        """
        L{Platform.isWinNT} is deprecated in favor of L{platform.isWindows}.
        """
        platform = Platform()
        platform.isWinNT()
        warnings = self.flushWarnings([self.test_isWinNTDeprecated])
        self.assertEqual(len(warnings), 1)
        self.assertEqual(
            warnings[0]['message'], self.isWinNTDeprecationMessage)

        L{Platform.isWinNT} is deprecated in favor of L{platform.isWindows}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/python/test/test_runtime.py