forked from ipython/ipython
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add failing test: columnize called with very long entries.
Bug reported on-list.
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# encoding: utf-8 | ||
"""Tests for IPython.utils.text""" | ||
|
||
#----------------------------------------------------------------------------- | ||
# Copyright (C) 2011 The IPython Development Team | ||
# | ||
# Distributed under the terms of the BSD License. The full license is in | ||
# the file COPYING, distributed as part of this software. | ||
#----------------------------------------------------------------------------- | ||
|
||
#----------------------------------------------------------------------------- | ||
# Imports | ||
#----------------------------------------------------------------------------- | ||
|
||
import os | ||
|
||
import nose.tools as nt | ||
|
||
from nose import with_setup | ||
|
||
from IPython.testing import decorators as dec | ||
from IPython.utils import text | ||
|
||
#----------------------------------------------------------------------------- | ||
# Globals | ||
#----------------------------------------------------------------------------- | ||
|
||
def test_columnize(): | ||
"""Test columnize with very long inputs""" | ||
text.columnize(['a'*180, 'b'*180]) |