pyproject-api/0001-Fix-test-result-missing.patch
desert-sailor 98daaf612f Fix test result missing
(cherry picked from commit c83a74683861a737db76dc98c662bdf7e3cf96cc)
2024-04-11 13:29:47 +08:00

23 lines
831 B
Diff

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