def METHOD_NAME(self):
    # While Future has no properties, it is necessary to patch Future in
    # order for these tests to work. This test is not a precise emulation
    # of the test it is replacing, but ought to cover most of the same
    # behaviour while Future is empty.
    with warnings.catch_warnings():
        warnings.simplefilter("ignore")
        future = patched_future(value=False)
        self.assertFalse(future.example_future_flag)
        with future.context():
            self.assertFalse(future.example_future_flag)
            future.example_future_flag = True
            self.assertTrue(future.example_future_flag)
        self.assertFalse(future.example_future_flag)