Skip to content

Commit

Permalink
Fix flake8 complaint
Browse files Browse the repository at this point in the history
  • Loading branch information
LilSpazJoekp committed Aug 20, 2023
1 parent 2d4c811 commit 72f10ca
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 @@ -773,7 +773,7 @@ def test_sidebar(self, reddit):

# all items should be Widget subclasses
assert all(
isinstance(widget, Widget) and type(widget) != Widget
isinstance(widget, Widget) and type(widget) is not Widget
for widget in widgets.sidebar
)

Expand All @@ -790,7 +790,7 @@ def test_topbar(self, reddit):
widgets = subreddit.widgets
assert 1 <= len(widgets.topbar)
assert all(
isinstance(widget, Widget) and type(widget) != Widget
isinstance(widget, Widget) and type(widget) is not Widget
for widget in widgets.topbar
)

Expand Down

0 comments on commit 72f10ca

Please sign in to comment.