# HG changeset patch # User Raphaël Gomès # Date 2023-10-31 16:34:31 # Node ID f9a52a9603f9201863ca1131c8a32c5cabf4d0b5 # Parent 1b23aaf5eb7b5169bbbdf95b4a0ad7214ab66a82 tests: ignore test-storage when using Rust This is only relevant for Python code and the SQLite backend, which is in a half-abandoned state. diff --git a/tests/test-storage.py b/tests/test-storage.py --- a/tests/test-storage.py +++ b/tests/test-storage.py @@ -15,6 +15,17 @@ from mercurial import ( from mercurial.testing import storage as storagetesting try: + from mercurial import rustext + + rustext.__name__ + # Does not pass with pure Rust index + import sys + + sys.exit(80) +except ImportError: + pass + +try: from hgext import sqlitestore except ImportError: sqlitestore = None