Adjust tests for new type comparison lint

This commit is contained in:
Joakim Soderlund 2023-08-27 10:42:43 +02:00
parent 0e1ca01277
commit c3854bdb1f
2 changed files with 3 additions and 3 deletions

View file

@ -40,8 +40,8 @@ class TestFlavor:
a = flavor.A a = flavor.A
b = flavor.B b = flavor.B
assert type(a) == flavor assert type(a) is flavor
assert type(b) == flavor assert type(b) is flavor
assert a.value == 1 assert a.value == 1
assert b.value == 2 assert b.value == 2
assert a is flavor.A assert a is flavor.A

View file

@ -210,7 +210,7 @@ class TestStory:
assert story.flavors is not flavors assert story.flavors is not flavors
assert story.flavors == {flavor.A} assert story.flavors == {flavor.A}
assert type(story.flavors) == set assert type(story.flavors) is set
def test_merge_without_parameters(self, story): def test_merge_without_parameters(self, story):
""" """