Commits

Bob Ippolito committed 6f47d47

assert NSNull.null() is not None

  • Participants
  • Parent commits ace2ba7
  • Branches pyobjc-ancient

Comments (0)

Files changed (1)

File Lib/Foundation/test/test_nsnull.py

     def testBool(self):
         v = NSNull.null()
         self.assert_(not v)
+        self.assert_(v is not None)
 
 if __name__ == "__main__":
     unittest.main()