mirror of
https://github.com/lutris/lutris
synced 2024-10-06 07:50:16 +00:00
Add an explicit assert in an attempt to placate CodeFactor
This commit is contained in:
parent
77c31f80b1
commit
24582a348d
|
@ -146,7 +146,7 @@ class TestSort(TestCase):
|
|||
row2 = self.FakeRow({'name': 1})
|
||||
model = self.FakeModel([row1, row2])
|
||||
with self.assertRaises(TypeError):
|
||||
sort_func(model, 0, 1, 'name') == -1
|
||||
assert sort_func(model, 0, 1, 'name') == -1
|
||||
|
||||
def test_both_none(self):
|
||||
row1 = self.FakeRow({})
|
||||
|
|
Loading…
Reference in a new issue