bpo-30508: Don't log exceptions if Task/Future "cancel()" method was called. (#2109)

diff --git a/Lib/asyncio/futures.py b/Lib/asyncio/futures.py
index d11d289..cff9590 100644
--- a/Lib/asyncio/futures.py
+++ b/Lib/asyncio/futures.py
@@ -191,6 +191,7 @@
         change the future's state to cancelled, schedule the callbacks and
         return True.
         """
+        self._log_traceback = False
         if self._state != _PENDING:
             return False
         self._state = _CANCELLED