Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2910800 commit cf8823fCopy full SHA for cf8823f
1 file changed
tests/test_collection_mixins.py
@@ -14,3 +14,10 @@ def test_dict_items():
14
k,v = items[0]
15
assert k == 42
16
assert v == "a"
17
+
18
+# regression test for https://github.com/pythonnet/pythonnet/issues/1785
19
+def test_dict_in_keys():
20
+ d = C.Dictionary[str, int]()
21
+ d["a"] = 42
22
+ assert "a" in d.Keys
23
+ assert "b" not in d.Keys
0 commit comments