diff --git a/docs/tools/test.py b/docs/tools/test.py index d8d9786b3c2..48e246507f4 100755 --- a/docs/tools/test.py +++ b/docs/tools/test.py @@ -34,7 +34,7 @@ def test_single_page(input_path, lang): logging.error('Found %d duplicate anchor points' % duplicate_anchor_points) if links_to_nowhere: logging.error('Found %d links to nowhere' % links_to_nowhere) - system.exit(10) + sys.exit(10) assert len(anchor_points) > 10, 'Html parsing is probably broken'