Skip to content

Commit 40ef8d2

Browse files
committed
Use lower case for skip reasons, and fix line length.
1 parent 6f980b7 commit 40ef8d2

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

tests/test_project.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ def test_archflags_envvar_parsing_invalid(package_purelib_and_platlib, monkeypat
379379
os.environ.pop('_PYTHON_HOST_PLATFORM', None)
380380

381381

382-
@pytest.mark.skipif(sys.version_info < (3, 13), reason='Requires Python 3.13 or higher')
382+
@pytest.mark.skipif(sys.version_info < (3, 13), reason='requires Python 3.13 or higher')
383383
@pytest.mark.parametrize('multiarch', [
384384
'arm64-iphoneos',
385385
'arm64-iphonesimulator',
@@ -400,10 +400,7 @@ def test_ios_project(package_simple, monkeypatch, multiarch, tmp_path):
400400
project = mesonpy.Project(source_dir=package_simple, build_dir=tmp_path)
401401

402402
# Meson configuration points at the cross file
403-
assert project._meson_args['setup'] == [
404-
'--cross-file',
405-
os.fspath(tmp_path / 'meson-python-cross-file.ini'),
406-
]
403+
assert project._meson_args['setup'] == ['--cross-file', os.fspath(tmp_path / 'meson-python-cross-file.ini')]
407404

408405
# Meson config files exist, and have some relevant keys
409406
assert (tmp_path / 'meson-python-native-file.ini').exists()

tests/test_tags.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def test_python_host_platform(monkeypatch):
7575
assert mesonpy._tags.get_platform_tag().endswith('x86_64')
7676

7777

78-
@pytest.mark.skipif(sys.version_info < (3, 13), reason='Requires Python 3.13 or higher')
78+
@pytest.mark.skipif(sys.version_info < (3, 13), reason='requires Python 3.13 or higher')
7979
def test_ios_platform_tag(monkeypatch):
8080
# Mock being on iOS
8181
monkeypatch.setattr(sysconfig, 'get_platform', Mock(return_value='ios-13.0-arm64-iphoneos'))

0 commit comments

Comments
 (0)