File: test_unicode.py

package info (click to toggle)
asciitree 0.3.3-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 124 kB
  • sloc: python: 247; makefile: 127
file content (6 lines) | stat: -rw-r--r-- 159 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
# -*- coding: utf-8 -*-
from asciitree import LeftAligned

def test_unicode_doesnt_crash():
    tr = LeftAligned()
    assert tr({u"åäö": {}}) == u"åäö"