You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, when rewriting self.assertDictContainsSubset(a, b) as assert dict(b, **a) == b, we're introducing a test error if the dict can contain non-string keys.
The text was updated successfully, but these errors were encountered:
As https://www.python.org/dev/peps/pep-0584/#dict-d1-d2 points out,
So, when rewriting
self.assertDictContainsSubset(a, b)
asassert dict(b, **a) == b
, we're introducing a test error if the dict can contain non-string keys.The text was updated successfully, but these errors were encountered: