code: def test_arith_output():
      alg = textdistance.ArithNCD(terminator="\x00")
      fraction = alg._compress("BANANA")
      assert fraction.numerator == 1525
  
imports: from fractions import Fraction
  from math import isclose
  import pytest
  import textdistance
label_desc: Use image node_id 3 for calling a global function with example usage: test_arith_output() without return types