code: def test_pretty_roundtrip(self):
      ts = self.types_to_test()
      for t in ts:
          p1 = t.pretty()
          p2 = t.pretty(5, 5)
          self.assertEqual(t, dtype(p1))
          self.assertEqual(t, dtype(p2))
  
imports: from typing import Optional
  import unittest
  from hail.expr import coercer_from_dtype
  from hail.expr.types import *
  from hail.genetics import reference_genome
  from ..helpers import *
  from hail.utils.java import Env
label_desc: Use image node_id 6 for calling the Tests obj's underlying member method code with example usage: obj.test_pretty_roundtrip() without return types