Пример #1
0
 def test_valid_clip_latitudes(self):
     future = Future()
     new_value = not future.clip_latitudes
     msg = "'Future' property 'clip_latitudes' is deprecated"
     with self.assertWarnsRegexp(msg):
         future.clip_latitudes = new_value
     self.assertEqual(future.clip_latitudes, new_value)
Пример #2
0
 def test_valid_clip_latitudes(self):
     future = Future()
     new_value = not future.clip_latitudes
     msg = "'Future' property 'clip_latitudes' is deprecated"
     with self.assertWarnsRegexp(msg):
         future.clip_latitudes = new_value
     self.assertEqual(future.clip_latitudes, new_value)
Пример #3
0
 def test_valid_clip_latitudes(self):
     future = Future()
     new_value = not future.clip_latitudes
     future.clip_latitudes = new_value
     self.assertEqual(future.clip_latitudes, new_value)