New submission from Emil Bode :
Initializing/creating a new set with an empty string via the set-command
returns an empty set instead of set with the empty string.
As in:
While set('somestring') gives me a set of size one,
set('') gives me an empty set (of size zero), ju
Emil Bode added the comment:
Some details about my setup:
Python 3.7.1,
Spyder 3.3.2
IPython 7.2.0
under Windows 10 64-bit
--
___
Python tracker
<https://bugs.python.org/issue38
Emil Bode added the comment:
You're right, I tested with set('a'), which gave me a set of size one, but
generalized it here to 'somestring'.
Maybe I'm just too loose with using set, instead of {}
Sorry to bother you
--
New submission from Emil Bode :
Found as a comment on SO
(https://stackoverflow.com/questions/12813633/how-to-assert-two-list-contain-the-same-elements-in-python#comment104082703_31832447):
In unittest, `self.assertCountEqual({1: [1, 2, 3]}, {1: [5, 6, 7]})` succeeds,
even though the two are