pre-commit stylistic junk

pull/1/head
Michael Chisholm 2020-09-12 19:33:56 -04:00
parent ff35e8a01b
commit bad42e5b78
2 changed files with 4 additions and 4 deletions

View File

@ -509,7 +509,7 @@ def test_make_constant_simple(input_, expected_class, expected_value):
def test_make_constant_list():
list_const = stix2.patterns.make_constant([1,2,3])
list_const = stix2.patterns.make_constant([1, 2, 3])
assert isinstance(list_const, stix2.patterns.ListConstant)
assert all(
@ -518,7 +518,7 @@ def test_make_constant_list():
)
assert all(
int_const.value == test_elt
for int_const, test_elt in zip(list_const.value, [1,2,3])
for int_const, test_elt in zip(list_const.value, [1, 2, 3])
)

View File

@ -630,7 +630,7 @@ def test_make_constant_simple(input_, expected_class, expected_value):
def test_make_constant_list():
list_const = stix2.patterns.make_constant([1,2,3])
list_const = stix2.patterns.make_constant([1, 2, 3])
assert isinstance(list_const, stix2.patterns.ListConstant)
assert all(
@ -639,7 +639,7 @@ def test_make_constant_list():
)
assert all(
int_const.value == test_elt
for int_const, test_elt in zip(list_const.value, [1,2,3])
for int_const, test_elt in zip(list_const.value, [1, 2, 3])
)