Exemplo n.º 1
0
 def test_average_closed(self):
     b = Queryable([1])
     b.close()
     self.assertRaises(ValueError, lambda: b.average())
Exemplo n.º 2
0
 def test_average_closed(self):
     b = Queryable([1])
     b.close()
     self.assertRaises(ValueError, lambda: b.average())
Exemplo n.º 3
0
 def test_average_closed(self):
     b = Queryable([1])
     b.close()
     with self.assertRaises(ValueError):
         b.average()