aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/wcwidth/py3/tests/test_table_integrity.py
blob: 66e63ddbe3fd1e2f2e5dd77b8bdfe5ad068f0ae4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""
Executes verify-table-integrity.py as a unit test.
"""
import os
import sys
import subprocess

import pytest

@pytest.mark.skipif(sys.version_info[:2] != (3, 12), reason='Test only with a single version of python')
def test_verify_table_integrity():
    subprocess.check_output([sys.executable, os.path.join(os.path.dirname(__file__),
                                                          os.path.pardir,
                                                          'bin',
                                                          'verify-table-integrity.py')])