Skip to content
Permalink
Browse files

TST: add test for com.is_sequence

  • Loading branch information...
y-p
y-p committed Mar 6, 2013
1 parent 1926b29 commit dd7e3cc6409d888bea3c7cf69c7c659340c3e6eb
Showing with 5 additions and 0 deletions.
  1. +5 −0 pandas/tests/test_common.py
@@ -26,6 +26,11 @@ def test_is_sequence():
assert(not is_seq(u"abcd"))
assert(not is_seq(np.int64))

class A(object):
def __getitem__(self):
return 1

assert(not is_seq(A()))

def test_notnull():
assert notnull(1.)

0 comments on commit dd7e3cc

Please sign in to comment.
You can’t perform that action at this time.