summaryrefslogtreecommitdiff
path: root/python/subunit/tests/test_test_protocol2.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/subunit/tests/test_test_protocol2.py')
-rw-r--r--python/subunit/tests/test_test_protocol2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/subunit/tests/test_test_protocol2.py b/python/subunit/tests/test_test_protocol2.py
index 1f542d5..4f0eb9f 100644
--- a/python/subunit/tests/test_test_protocol2.py
+++ b/python/subunit/tests/test_test_protocol2.py
@@ -213,7 +213,7 @@ class TestStreamResultToBytes(TestCase):
def test_tags(self):
result, output = self._make_result()
- result.status(test_id="bar", test_tags=set(['foo', 'bar']))
+ result.status(test_id="bar", test_tags={'foo', 'bar'})
self.assertThat(CONSTANT_TAGS, Contains(output.getvalue()))
def test_timestamp(self):
@@ -378,7 +378,7 @@ class TestByteStreamToStreamResult(TestCase):
def test_tags(self):
self.check_event(CONSTANT_TAGS[0],
- None, tags=set(['foo', 'bar']), test_id="bar")
+ None, tags={'foo', 'bar'}, test_id="bar")
def test_timestamp(self):
timestamp = datetime.datetime(2001, 12, 12, 12, 59, 59, 45,