better-exceptions/test/test_encoding.py

15 lines
155 B
Python

# -*- coding:utf-8 -*-
import better_exceptions
better_exceptions.hook()
def _deep(val):
return 1 / val
def div():
return _deep("")
div()