better-exceptions-hook icon indicating copy to clipboard operation
better-exceptions-hook copied to clipboard

Not working in Python3?

Open erezsh opened this issue 8 years ago • 0 comments

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?

erezsh avatar Oct 16 '17 09:10 erezsh