better-exceptions/test/test_truncating_disabled.py

13 lines
181 B
Python

# -*- coding:utf-8 -*-
import better_exceptions
better_exceptions.hook()
better_exceptions.MAX_LENGTH = None
def div():
var = "9" * 150
return 1 / var
div()