Author: andar

Revision: 5550

Log:
        Fix get_free_space test

Diff:
Modified: trunk/tests/test_core.py
===================================================================
--- trunk/tests/test_core.py    2009-07-25 00:54:56 UTC (rev 5549)
+++ trunk/tests/test_core.py    2009-07-25 01:49:05 UTC (rev 5550)
@@ -96,7 +96,7 @@
 
     def test_get_free_space(self):
         space = self.core.get_free_space(".")
-        self.assertTrue(type(space) == int)
+        self.assertTrue(type(space) in (int, long))
         self.assertTrue(space >= 0)
         self.assertRaises(deluge.error.InvalidPathError, 
self.core.get_free_space, "/someinvalidpath")
         



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to