From bad42e5b7890d5027a8087bc22edd5ad27d97906 Mon Sep 17 00:00:00 2001 From: Michael Chisholm Date: Sat, 12 Sep 2020 19:33:56 -0400 Subject: [PATCH] pre-commit stylistic junk --- stix2/test/v20/test_pattern_expressions.py | 4 ++-- stix2/test/v21/test_pattern_expressions.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/stix2/test/v20/test_pattern_expressions.py b/stix2/test/v20/test_pattern_expressions.py index 1a60b51..526fe97 100644 --- a/stix2/test/v20/test_pattern_expressions.py +++ b/stix2/test/v20/test_pattern_expressions.py @@ -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]) ) diff --git a/stix2/test/v21/test_pattern_expressions.py b/stix2/test/v21/test_pattern_expressions.py index 8a169d9..58cef3e 100644 --- a/stix2/test/v21/test_pattern_expressions.py +++ b/stix2/test/v21/test_pattern_expressions.py @@ -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]) )