code: def test_static_order_does_not_change_with_the_hash_seed(self):
      def check_order_with_hash_seed(seed):
          code = """if 1:
                  import graphlib
                  ts = graphlib.TopologicalSorter()
                  ts.add('blech', 'bluch', 'hola')
                  ts.add('abcd', 'blech', 'bluch', 'a', 'b')
                  ts.add('a', 'a string', 'something', 'b')
                  ts.add('bluch', 'hola', 'abcde', 'a', 'b')
                  print(list(ts.static_order()))
                  """
          env = os.environ.copy()
          # signal to assert_python not to do a copy
          # of os.environ on its own
          env["__cleanenv"] = True
          env["PYTHONHASHSEED"] = str(seed)
          out = assert_python_ok("-c", code, **env)
          return out
  
      run1 = check_order_with_hash_seed(1234)
      run2 = check_order_with_hash_seed(31415)
  
      self.assertNotEqual(run1, "")
      self.assertNotEqual(run2, "")
      self.assertEqual(run1, run2)
  
imports: import graphlib
  import os
  import unittest
  from test.support.script_helper import assert_python_ok
label_desc: Use image node_id 17 for calling the TestTopologicalSort obj's underlying member method code with example usage: obj.test_static_order_does_not_change_with_the_hash_seed() and returns: out