Skip to content

Commit b3513be

Browse files
committed
Fix docstrings
1 parent 040ec86 commit b3513be

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

asserts/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,8 @@ def assert_dict_equal(first, second, key_msg_fmt="{msg}",
299299
The dictionaries are considered equal, if they both contain the same
300300
keys, and their respective values are also equal.
301301
302-
>>> assert_equal({"foo": 5}, {"foo": 5})
303-
>>> assert_equal({"foo": 5}, {})
302+
>>> assert_dict_equal({"foo": 5}, {"foo": 5})
303+
>>> assert_dict_equal({"foo": 5}, {})
304304
Traceback (most recent call last):
305305
...
306306
AssertionError: key 'foo' missing from right dict
@@ -365,8 +365,8 @@ def assert_dict_superset(first, second, key_msg_fmt="{msg}",
365365
values are equal (or a superset in case of dicts). But the second
366366
dictionary can contain additional keys.
367367
368-
>>> assert_equal({"foo": 5}, {"foo": 5, "bar": 10})
369-
>>> assert_equal({"foo": 5}, {})
368+
>>> assert_dict_superset({"foo": 5}, {"foo": 5, "bar": 10})
369+
>>> assert_dict_superset({"foo": 5}, {})
370370
Traceback (most recent call last):
371371
...
372372
AssertionError: key 'foo' missing from right dict

0 commit comments

Comments
 (0)