From 916d4c3dde21bf6d93c370d3805bdf2075e3c454 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com> Date: Fri, 14 Apr 2023 14:26:41 +0200 Subject: [PATCH] FIX: dict behavior was removed from Messages --- tests/test_messages.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/test_messages.py b/tests/test_messages.py index 626e820..198fbb9 100644 --- a/tests/test_messages.py +++ b/tests/test_messages.py @@ -64,9 +64,6 @@ def test_messages_dict_behavior(): msgs["HelloWorld", 2] = "Greeting the world in German", "Hallo, Welt!" assert msgs["HelloWorld", 2] == ( "Greeting the world in German", "Hallo, Welt!") - msgs["HelloWorld", 2] = "Greeting the world in German", "Huhu, Welt!" - assert msgs["HelloWorld", 2] == ( - "Greeting the world in German", "Huhu, Welt!") del msgs["HelloWorld", 2] assert msgs.get("HelloWorld", 2) is None -- GitLab