Commits

Lenard Lindstrom  committed b55888c

fix Python 3 incompatibility in color_test.py

  • Participants
  • Parent commits 41018ab

Comments (0)

Files changed (1)

File test/color_test.py

         self.assertRaises (ValueError, c.set_length, 5)
         self.assertRaises (ValueError, c.set_length, -1)
         self.assertRaises (ValueError, c.set_length, 0)
-        self.assertRaises (ValueError, c.set_length, pow(2,33L))
+        self.assertRaises (ValueError, c.set_length, pow(2,long_(33)))
         
         
     def test_case_insensitivity_of_string_args(self):