• There is mistake in initial code (both files)

  assert convert(0, 117) == "0", "Zero"

missed dot, should be

assert convert(0, 117) == "0.", "Zero"

URL from: http://www.checkio.org/mission/repeating-decimals/
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0