Skip to content

Commit

Permalink
Use valid 2.6 syntax for sets.
Browse files Browse the repository at this point in the history
  • Loading branch information
gtback committed Feb 27, 2018
1 parent 0c30374 commit 58056ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stix/test/indicator_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def test_related_packages(self):
def test_indicator_type_hashing(self):
# https://github.com/STIXProject/python-stix/issues/338
vocab_str = IndicatorType(value=IndicatorType.TERM_C2)
indicator_set = {vocab_str}
indicator_set = set([vocab_str])

def test_datetime_format(self):
indicator = Indicator(title="title")
Expand Down

0 comments on commit 58056ee

Please sign in to comment.