Skip to content

Instantly share code, notes, and snippets.

@guissalustiano
Created November 21, 2021 04:52
Show Gist options
  • Save guissalustiano/c733475f3fcdfa2b31556b90a1b5e7d5 to your computer and use it in GitHub Desktop.
Save guissalustiano/c733475f3fcdfa2b31556b90a1b5e7d5 to your computer and use it in GitHub Desktop.
>>> import util_test
>>> import pdb
>>> pdb.run('util_test.test_flatten_dict_nivel_separador()')
> <string>(1)<module>()
(Pdb) continue
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/guiss/.asdf/installs/python/3.10.0/lib/python3.10/pdb.py", line 1607, in run
Pdb().run(statement, globals, locals)
File "/home/guiss/.asdf/installs/python/3.10.0/lib/python3.10/bdb.py", line 597, in run
exec(cmd, globals, locals)
File "<string>", line 1, in <module>
File "/home/guiss/Projetos/Turing/Talks/Logs/util_test.py", line 14, in test_flatten_dict
assert flatten_dict({'a': {'b': 1}}, '_') == {'a_b': 1}
AssertionError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment