def test_slicing_to_the_edge(self):
    noms = ['peanut', 'butter', 'and', 'jelly']
    self.assertEqual(['and', 'jelly'], noms[2:])
    self.assertEqual(['peanut', 'butter'], noms[:2])
def test_slicing_to_the_edge(self):
    noms = ['peanut', 'butter', 'and', 'jelly']
    self.assertEqual(['and', 'jelly'], noms[2:])
    self.assertEqual(['peanut', 'butter'], noms[:2])