'L{getProgramFilesPath} has been deprecated.'

def test_deprecationGetProgramFilesPath(self):

    win32.getProgramFilesPath()
    emittedWarnings = self.flushWarnings([self.test_deprecationGetProgramFilesPath])
    self.assertEqual(len(emittedWarnings), 1)
    self.assertIs(emittedWarnings[0]['category'], DeprecationWarning)
    self.assertEqual(emittedWarnings[0]['message'], 'twisted.python.win32.getProgramFilesPath    was    deprecated    in    Twisted    15.3.0')
