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)
Maps __setattr__ onto __setitem__
dataset/ETHPy150Open twisted/twisted/twisted/python/test/test_runtime.py/PlatformTests.test_isWinNTDeprecated--crossover with--dataset/ETHPy150Open plotly/plotly.py/plotly/graph_objs/graph_objs.py/PlotlyDict.__setattr__