def test_time(self):
        """
        The old-style C{"time"} key is copied to the new-style C{"log_time"}
        key.
        """
        publishToNewObserver(
            self.observer, self.legacyEvent(), legacyLog.textFromEventDict
        )
        self.assertEqual(
            self.events[0]["log_time"], self.events[0]["time"]
        )

        The old-style C{"time"} key is copied to the new-style C{"log_time"}
        key.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/logger/test/test_legacy.py