Skip to content

Commit

Permalink
Merge 72f10ca into 2d4c811
Browse files Browse the repository at this point in the history
  • Loading branch information
LilSpazJoekp committed Aug 20, 2023
2 parents 2d4c811 + 72f10ca commit c0338a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/models/reddit/test_widgets.py
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 c0338a3

Please sign in to comment.