old_contents: import bx.misc.bgzf
  
  def test_bgzf():
      f = bx.misc.bgzf.BGZFFile( "../test_data/bgzf_tests/test.txt.gz" )
      print f.read( 10 )
      print f.seek( 0 )
      print f.read( 10 )
      
  test_bgzf()
new_contents: import bx.misc.bgzf
  
  def test_bgzf():
      f = bx.misc.bgzf.BGZFFile( "test_data/bgzf_tests/test.txt.gz" )
      assert f.read( 10 ) == "begin 644 "
      print f.seek( 0 )
      assert f.read( 10 ) == "begin 644 "
subject: Make BGZF test a real unittest