Skip to content
Browse files

TST: add test for com.is_sequence

  • Loading branch information...
y-p committed Mar 6, 2013
1 parent 1926b29 commit dd7e3cc6409d888bea3c7cf69c7c659340c3e6eb
Showing with 5 additions and 0 deletions.
  1. +5 −0 pandas/tests/
@@ -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.