better-exceptions-hook
better-exceptions-hook copied to clipboard
Not working in Python3?
I ran
pip install better-exceptions-hook
For both Python2 and Python3, and then ran the following file (bla.py):
a = "hello"
b = "world"
assert a == b
Here's the output:
erez@localhost ~ $ python2 bla.py
Traceback (most recent call last):
File "bla.py", line 4, in <module>
assert a == b
│ └ 'world'
└ 'hello'
AssertionError: assert a == b
erez@localhost ~ [1]$ python3 bla.py
Traceback (most recent call last):
File "bla.py", line 4, in <module>
assert a == b
AssertionError
Any idea why?