def test_getlist_newlist(self):
        """test to ensure that getlist() creates a new list"""
        self.history.add("a")
        self.history.add("b")
        self.assertIsNot(self.history.getlist(), self.history.getlist())
test to ensure that getlist() creates a new list
tests/system/test_history.py