Skip to content

Commit

Permalink
Add failing test: columnize called with very long entries.
Browse files Browse the repository at this point in the history
Bug reported on-list.
  • Loading branch information
fperez committed Aug 13, 2011
1 parent b46acf0 commit 371bb8f
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions IPython/utils/tests/test_text.py
@@ -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])

0 comments on commit 371bb8f

Please sign in to comment.