From af27ba4dd2ffdef8e4ee3abf187475c1b3303f71 Mon Sep 17 00:00:00 2001 From: Nima Talebi Date: Sun, 24 May 2009 00:26:23 +1000 Subject: Completed preliminary reimplementation of type() Updated test unit to match. Throw an exception instead of returning None/False in some functions. --- unit-tests/unit | 2 ++ 1 file changed, 2 insertions(+) (limited to 'unit-tests/unit') diff --git a/unit-tests/unit b/unit-tests/unit index 160641a..61a194c 100755 --- a/unit-tests/unit +++ b/unit-tests/unit @@ -161,6 +161,8 @@ try: sys.stdout.write(" * %s\n"%output.keys()) except IOError, e: failed(e, 2) + except LookupError, e: + failed(e, 2) except IOError: skipped() -- cgit