Fix forgotten warning name change (cf. 7327a013)

This commit is contained in:
JustAnotherArchivist
2023-02-21 21:59:06 +00:00
parent 7330e0a9a0
commit f109f3fd46

View File

@@ -89,7 +89,7 @@ class _JSONDataclass:
'''Convert the object to a JSON string'''
with warnings.catch_warnings():
warnings.filterwarnings(action = 'ignore', category = DeprecatedPropertyAccessWarning)
warnings.filterwarnings(action = 'ignore', category = DeprecatedFeatureWarning)
out = _json_dataclass_to_dict(self)
for key, value in list(out.items()): # Modifying the dict below, so make a copy first
if isinstance(value, IntWithGranularity):