Skip to content

Commit b273209

Browse files
committed
-
1 parent 8581b65 commit b273209

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

source_py3/test_python_toolbox/test_nifty_collections/test_bagging.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def test_only_positive_ints_or_zero(self):
129129
assert self.bag_type(
130130
OrderedDict([('a', 0), ('b', 0.0), ('c', 1), ('d', 2.0),
131131
('e', decimal_module.Decimal('3.0'))])) == \
132-
self.bag_type('cddeee')
132+
self.bag_type('cddeee')
133133
with cute_testing.RaiseAssertor(TypeError):
134134
self.bag_type({'a': 1.1,})
135135
with cute_testing.RaiseAssertor(TypeError):
@@ -158,8 +158,8 @@ def test_ignores_zero(bag_type):
158158
assert hash(bag_0) == hash(bag_1)
159159
assert {bag_0, bag_1} == {bag_0} == {bag_1}
160160

161-
bag_2 = bag_type(
162-
{'a': 0.0, 'b': 2, 'c': decimal_module.Decimal('0.0'),})
161+
bag_2 = \
162+
bag_type({'a': 0.0, 'b': 2, 'c': decimal_module.Decimal('0.0'),})
163163
bag_3 = bag_type('bb')
164164

165165
if bag_type.is_frozen:
@@ -254,7 +254,6 @@ class FrozenOrderedBagTestCase(BaseFrozenBagTestCase,
254254

255255

256256

257-
@_test_on(Bag, OrderedBag, FrozenBag, FrozenOrderedBag)
258257
def test_mutating(bag_type):
259258
bag = bag_type('abracadabra')
260259
with cute_testing.RaiseAssertor(TypeError):

0 commit comments

Comments
 (0)