mirror of
https://github.com/JockeTF/fimfarchive.git
synced 2024-11-21 21:07:59 +01:00
Adjust tests for new type comparison lint
This commit is contained in:
parent
0e1ca01277
commit
c3854bdb1f
2 changed files with 3 additions and 3 deletions
|
@ -40,8 +40,8 @@ class TestFlavor:
|
|||
a = flavor.A
|
||||
b = flavor.B
|
||||
|
||||
assert type(a) == flavor
|
||||
assert type(b) == flavor
|
||||
assert type(a) is flavor
|
||||
assert type(b) is flavor
|
||||
assert a.value == 1
|
||||
assert b.value == 2
|
||||
assert a is flavor.A
|
||||
|
|
|
@ -210,7 +210,7 @@ class TestStory:
|
|||
|
||||
assert story.flavors is not flavors
|
||||
assert story.flavors == {flavor.A}
|
||||
assert type(story.flavors) == set
|
||||
assert type(story.flavors) is set
|
||||
|
||||
def test_merge_without_parameters(self, story):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue