Issue #8816: Extra tests for some built-in functions.  These tests are
ports of IronPython tests.  Thanks Gregory Nofi.
diff --git a/Lib/test/test_long.py b/Lib/test/test_long.py
index 59967ea..7be89fc 100644
--- a/Lib/test/test_long.py
+++ b/Lib/test/test_long.py
@@ -320,6 +320,9 @@
         self.assertEqual(long(3.5), 3L)
         self.assertEqual(long(-3.5), -3L)
         self.assertEqual(long("-3"), -3L)
+        self.assertEqual(long("0b10", 2), 2L)
+        self.assertEqual(long("0o10", 8), 8L)
+        self.assertEqual(long("0x10", 16), 16L)
         if test_support.have_unicode:
             self.assertEqual(long(unicode("-3")), -3L)
         # Different base: