forked from pool/python-pdm
Matej Cepl
8c09ff3b37
Required for python-flufl.* updates. ------------------------------------------------------------------- Sun Jan 23 20:56:10 UTC 2022 - Matej Cepl <mcepl@suse.com> - By downgrading python-installer to 0.3 we have eliminated number of failed tests. ------------------------------------------------------------------- Sun Jan 23 00:55:41 UTC 2022 - Matej Cepl <mcepl@suse.com> - Replacing mark-network-tests.patch with the upstream PR (gh#pdm-project/pdm#864), which unfortunately leaves a lot of tests still failing. ------------------------------------------------------------------- Fri Jan 21 01:35:33 UTC 2022 - Matej Cepl <mcepl@suse.com> - Add mark-network-tests.patch for skipping network-requiring tests (gh#pdm-project/pdm#858). This is a very shotgun approach, just mark everything which fails. - Add sys-exec-failures.patch to fix problems with the version number of Python 3.10 (gh#pdm-project/pdm#865). ------------------------------------------------------------------- Thu Jan 20 18:51:14 UTC 2022 - Matej Cepl <mcepl@suse.com> - Initial packaging effort for pdm 1.12.6 OBS-URL: https://build.opensuse.org/request/show/948281 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdm?expand=0&rev=1
15 lines
592 B
Diff
15 lines
592 B
Diff
---
|
|
tests/test_project.py | 4 +---
|
|
1 file changed, 1 insertion(+), 3 deletions(-)
|
|
|
|
--- a/tests/test_project.py
|
|
+++ b/tests/test_project.py
|
|
@@ -209,6 +209,4 @@ def test_global_python_path_config(proje
|
|
def test_set_non_exist_python_path(project_no_init):
|
|
project_no_init.project_config["python.path"] = "non-exist-python"
|
|
project_no_init._python = None
|
|
- assert os.path.normcase(project_no_init.python.executable) == os.path.normcase(
|
|
- sys.executable
|
|
- )
|
|
+ assert os.path.normcase(sys.executable).startswith(os.path.normcase(project_no_init.python.executable))
|