Skip to content

Commit

Permalink
Ignore coverage check for async check with python >= 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
bboe committed Feb 3, 2021
1 parent bb0e005 commit bb0e008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion praw/reddit.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def request(self, *args, **kwargs):
def _check_for_async(self):
if self.config.check_for_async:
in_async = False
if sys.version_info >= (3, 7, 0):
if sys.version_info >= (3, 7, 0): # pragma: no cover
try:
asyncio.get_running_loop()
in_async = True
Expand Down

0 comments on commit bb0e008

Please sign in to comment.