def test_input_is_not_list(self):
     self.assertRaises(TypeError, lambda: shorten_the_list(self.not_list))
 def test_base_case(self):
     self.assertEqual(shorten_the_list(self.test_list), self.expected_list)