```
# scalar integers
self.assertRaises(KeyError, lambda : s.loc[4])
self.assertRaises(KeyError, lambda : s.ix[4])
self.assertRaises(KeyError, lambda : s[4])
# fancy floats
self.assertRaises(KeyError, lambda : s.loc[[4.0]])
self.assertRaises(KeyError, lambda : s.ix[[4.0]])
self.assertRaises(KeyError, lambda : s[[4.0]])
# fancy integers
self.assertRaises(KeyError, lambda : s.loc[[4]])
self.assertRaises(KeyError, lambda : s.ix[[4]])
self.assertRaises(KeyError, lambda : s[[4]])
```