pyproject-api/0001-Fix-test-result-missing.patch

23 lines
831 B
Diff
Raw Permalink Normal View History

From 942fe599a2803dca182d747a6f7248bab722c289 Mon Sep 17 00:00:00 2001
From: desert-sailor <dongxing.wang_a@thundersoft.com>
Date: Sun, 7 Apr 2024 17:08:31 +0800
Subject: [PATCH] Fix test result missing
---
tests/test_frontend_setuptools.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/tests/test_frontend_setuptools.py b/tests/test_frontend_setuptools.py
index 92bfda2..ab6b3dc 100644
--- a/tests/test_frontend_setuptools.py
+++ b/tests/test_frontend_setuptools.py
@@ -172,5 +172,3 @@ def test_result_missing(frontend_setuptools: SubprocessFrontend, tmp_path: Path,
assert exc.exc_msg == f"Backend response file {tmp_path / 'pep517__exit-.json'} is missing"
assert exc.exc_type == "RuntimeError"
assert exc.code == 1
- assert "Traceback" in exc.err
- assert "PermissionError" in exc.err
--
2.43.0