code: def test_control_issue792(en_tokenizer, text):
      """Test base case for Issue #792: Non-trailing whitespace"""
      doc = en_tokenizer(text)
      assert "".join([token.text_with_ws for token in doc]) == text
  
file_path: spacy/spacy/tests/lang/en/test_tokenizer.py
imports: import pytest
label_desc: Use image node_id 9 for calling a global function with example usage: test_control_issue792(en_tokenizer, text) without return types