code: def test_nan_inf(self):
      self.assertRaises(OverflowError, int, float("inf"))
      self.assertRaises(OverflowError, int, float("-inf"))
      self.assertRaises(ValueError, int, float("nan"))
  
imports: import unittest
  from test import support
  import sys
  import random
  import math
  import array
label_desc: Use image node_id 21 for calling the LongTest obj's underlying member method code with example usage: obj.test_nan_inf() without return types