Skip to content

Commit

Permalink
Merge pull request #253 from praw-dev/fix-ci
Browse files Browse the repository at this point in the history
Fix flake8 complaint
  • Loading branch information
LilSpazJoekp committed Oct 13, 2023
2 parents 5240be0 + 82a529d commit 63e9e55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/models/reddit/test_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ async def test_sidebar(self, reddit):
subreddit = await reddit.subreddit(pytest.placeholders.test_subreddit)
widgets = subreddit.widgets
sidebar = [
isinstance(widget, Widget) and type(widget) != Widget
isinstance(widget, Widget) and type(widget) is not Widget
async for widget in widgets.sidebar()
]
assert all(sidebar)
Expand All @@ -777,7 +777,7 @@ async def test_topbar(self, reddit):
assert 1 <= len(await self.async_list(widgets.topbar()))
assert all(
[
isinstance(widget, Widget) and type(widget) != Widget
isinstance(widget, Widget) and type(widget) is not Widget
async for widget in widgets.topbar()
]
)
Expand Down

0 comments on commit 63e9e55

Please sign in to comment.