Fix test.
authorRobert Bradshaw <robertwb@math.washington.edu>
Sat, 2 Apr 2011 21:35:07 +0000 (14:35 -0700)
committerRobert Bradshaw <robertwb@math.washington.edu>
Sat, 2 Apr 2011 21:35:07 +0000 (14:35 -0700)
tests/run/type_inference.pyx

index 992bdcc227789ec88aa7a90ec7720d7e531acfbc..61ec7c8e7f993303b1b39c9c322fa0d1dd605970 100644 (file)
@@ -156,7 +156,7 @@ def unary_operators():
     a = int(1)
     assert typeof(a) == "Python object", typeof(a)
     b = not int(3)
-    assert typeof(b) == "int", typeof(b)
+    assert typeof(b) == "bint", typeof(b)
     c = +int(3)
     assert typeof(c) == "Python object", typeof(c)
     d = -int(5)