Skip to content

Commit 452ddc7

Browse files
committed
tests: update tests
Signed-off-by: Henry Schreiner <[email protected]>
1 parent b74bcae commit 452ddc7

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ filterwarnings = [
142142
"default:The distutils package is deprecated and slated for removal:DeprecationWarning", # Caused by setuptools sometimes
143143
"default:The distutils.sysconfig module is deprecated, use sysconfig instead:DeprecationWarning", # Caused by setuptools sometimes
144144
"default:check_home argument is deprecated and ignored.:DeprecationWarning", # Caused by setuptools sometimes
145+
"ignore::scikit_build_core._vendor.pyproject_metadata.errors.ConfigurationWarning",
145146
]
146147
log_cli_level = "info"
147148
pythonpath = ["tests/utils"]

tests/conftest.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,10 @@ def package_simple_pyproject_ext(
211211
) -> PackageInfo:
212212
package = PackageInfo(
213213
"simple_pyproject_ext",
214-
"5544d96810ce60ac40baf28cf8caf2e1e7e1fa7439b283d3fb52cdc1f87f12ac",
215-
"aaa15c185dc3fbc301dc2fca937cc935442c38e55bc400fbefd424bd6ce92adb",
216-
"ee3a564a37c42df3abdcee3862175baceeb6f6eff0b29931681b424ec5d96067",
217-
"4c1d402621e7f00fce4ce5afdb73a9ba4cc25cd4bb57619113432841f779dd68",
214+
"72cd37019e113cbabebdceb79bc867f8e1a4fc7323b6a272e6a77d6ea384d3e8",
215+
"be15157c8659f258b73eb474616473d60945c4d45693796b55234ec83893263a",
216+
"d97cd496aa6c46df2caf5064a7765588c831b8db9d7b46a536026ed951ce724a",
217+
"b1182a2aa7a2b81365b3ad7ae1839b20d983ef10b6c3de16b681c23f536ca1b7",
218218
)
219219
process_package(package, tmp_path, monkeypatch)
220220
return package

tests/test_pyproject_pep517.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
Requires-Python: >=3.7
3636
Provides-Extra: test
3737
Requires-Dist: pytest>=6.0; extra == "test"
38+
3839
"""
3940

4041
mark_hashes_different = pytest.mark.xfail(

tests/test_wheelfile_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def test_wheel_writer_simple(tmp_path, monkeypatch):
4646

4747
dist_info = wheel.dist_info_contents()
4848
assert dist_info == {
49-
"METADATA": b"Metadata-Version: 2.1\nName: something\nVersion: 1.2.3\n",
49+
"METADATA": b"Metadata-Version: 2.1\nName: something\nVersion: 1.2.3\n\n",
5050
"WHEEL": b"Wheel-Version: 1.0\nGenerator: scikit-build-core 1.2.3\nRoot-Is-Purelib: false\nTag: py3-none-any\n\n",
5151
}
5252

0 commit comments

Comments
 (0)