We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88b88a9 commit 56b0671Copy full SHA for 56b0671
source_py3/test_python_toolbox/test_nifty_collections/test_bagging.py
@@ -101,6 +101,16 @@ def test_n_elements(self):
101
assert bag.n_elements == 5
102
103
104
+
105
+ def test_frozen_bag_bag(self):
106
+ bag = self.bag_type('meeeow')
107
+ assert bag.frozen_bag_bag == \
108
+ nifty_collections.FrozenBagBag({3: 1, 1: 3,})
109
+ if not isinstance(bag, collections.Hashable):
110
+ bag['o'] += 2
111
112
+ nifty_collections.FrozenBagBag({3: 2, 1: 2,})
113
114
115
116
0 commit comments