File: test_encoding.py

package info (click to toggle)
python-better-exceptions 0.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 632 kB
  • sloc: python: 620; sh: 108; makefile: 5
file content (14 lines) | stat: -rw-r--r-- 155 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# -*- coding:utf-8 -*-

import better_exceptions
better_exceptions.hook()


def _deep(val):
    return 1 / val

def div():
    return _deep("天")


div()