Skip to content

Commit

Permalink
Fix for python 2.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
adiroiban authored and Mikhail Sobolev committed May 18, 2015
1 parent e76979d commit e0a9da9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions master/buildbot/test/unit/test_status_builder.py
Expand Up @@ -50,7 +50,7 @@ def test_matchesAnyTag_no_match(self):
Return False when requested tags don't match.
"""
sut = self.makeBuilderStatus()
sut.tags = {'one'}
sut.tags = set('one')

self.assertFalse(sut.matchesAnyTag(set()))
self.assertFalse(sut.matchesAnyTag(set(('no-such-tag',))))
Expand All @@ -61,7 +61,7 @@ def test_matchesAnyTag_with_match(self):
Return True when at least one of the requested tags match.
"""
sut = self.makeBuilderStatus()
sut.tags = {'one', 'two'}
sut.tags = set('one', 'two')

self.assertTrue(sut.matchesAnyTag(set(('two',))))
self.assertTrue(sut.matchesAnyTag(set(('two', 'one'))))

0 comments on commit e0a9da9

Please sign in to comment.