code: def test_constructor_negative_nans_from_string(self):
      self.assertEqual(copysign(1.0, complex("-nan").real), -1.0)
      self.assertEqual(copysign(1.0, complex("-nanj").imag), -1.0)
      self.assertEqual(copysign(1.0, complex("-nan-nanj").real), -1.0)
      self.assertEqual(copysign(1.0, complex("-nan-nanj").imag), -1.0)
  
imports: import unittest
  import sys
  from test import support
  from test.test_grammar import VALID_UNDERSCORE_LITERALS, INVALID_UNDERSCORE_LITERALS
  from random import random
  from math import atan2, isnan, copysign
  import operator
label_desc: Use image node_id 26 for calling the ComplexTest obj's underlying member method code with example usage: obj.test_constructor_negative_nans_from_string() without return types