commit: 04f4732c14725bfe5b0fad5da3244233e3cd0a17
Author: Brian Harring <ferringb <AT> gmail <DOT> com>
AuthorDate: Wed Jan 21 18:38:16 2026 +0000
Commit: Brian Harring <ferringb <AT> gmail <DOT> com>
CommitDate: Wed Jan 21 18:39:18 2026 +0000
URL:
https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=04f4732c
fix test not actually testing what it is testing
Signed-off-by: Brian Harring <ferringb <AT> gmail.com>
tests/test_mappings.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_mappings.py b/tests/test_mappings.py
index d124838..1b57499 100644
--- a/tests/test_mappings.py
+++ b/tests/test_mappings.py
@@ -242,7 +242,7 @@ class TestImmutableDict:
def test_init_dictmixin(self):
d = MutableDict(baz="cat")
e = mappings.ImmutableDict(d)
- assert dict(d) == {"baz": "cat"}
+ assert dict(e) == {"baz": "cat"}
def test_init_bad_data(self):
for data in (range(10), list(range(10)), [([], 1)]):