We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8c47e4 commit 62393adCopy full SHA for 62393ad
test/test_freeze.py
@@ -4,7 +4,7 @@
4
from collections import OrderedDict
5
from array import array
6
from types import MappingProxyType
7
-from frozendict import FreezeError
+from frozendict import FreezeError, FreezeWarning
8
9
10
class A:
@@ -96,3 +96,8 @@ def test_deepfreeze_custom(a):
96
a,
97
custom_converters={A: custom_a_converter}
98
) == custom_a_converter(a)
99
+
100
101
+def test_register_warning():
102
+ with pytest.warns(FreezeWarning):
103
+ cool.register(bytearray, bytes)
0 commit comments