INT_MAX, INT_MIN, UINT_MAX, \
LONG_MAX, LONG_MIN, ULONG_MAX
-import warnings, exceptions, unittest, test.test_warnings
+import warnings, unittest, test.test_warnings
from test import test_support
ts=test_structmembersType(1,2,3,4,5,6,7,8,9.99999,10.1010101010)
class TestWarnings(test.test_warnings.TestModule):
def has_warned(self):
self.assertEqual(test.test_warnings.msg.category,
- exceptions.RuntimeWarning.__name__)
+ RuntimeWarning.__name__)
def test_byte_max(self):
ts.T_BYTE=CHAR_MAX+1