[arch-commits] Commit in python-jedi/trunk (1 file)
Levente Polyak
anthraxx at archlinux.org
Thu May 14 10:23:56 UTC 2020
Date: Thursday, May 14, 2020 @ 10:23:55
Author: anthraxx
Revision: 627911
upgpkg: python-jedi 0.17.0-1
Deleted:
python-jedi/trunk/0001-Jedi-understand-now-when-you-use-del-fixes-313.patch
-----------------------------------------------------------+
0001-Jedi-understand-now-when-you-use-del-fixes-313.patch | 46 ------------
1 file changed, 46 deletions(-)
Deleted: 0001-Jedi-understand-now-when-you-use-del-fixes-313.patch
===================================================================
--- 0001-Jedi-understand-now-when-you-use-del-fixes-313.patch 2020-05-14 09:51:29 UTC (rev 627910)
+++ 0001-Jedi-understand-now-when-you-use-del-fixes-313.patch 2020-05-14 10:23:55 UTC (rev 627911)
@@ -1,46 +0,0 @@
-From bec87f7ff82b0731713c6520a14c213341b4cecf Mon Sep 17 00:00:00 2001
-From: Dave Halter <davidhalter88 at gmail.com>
-Date: Sun, 26 Jan 2020 20:07:25 +0100
-Subject: [PATCH] Jedi understand now when you use del, fixes #313
-
----
- test/completion/basic.py | 6 +++---
- test/test_api/test_full_name.py | 3 ++-
- 2 files changed, 5 insertions(+), 4 deletions(-)
-
-diff --git a/test/completion/basic.py b/test/completion/basic.py
-index b4006817..3ff919ca 100644
---- a/test/completion/basic.py
-+++ b/test/completion/basic.py
-@@ -209,11 +209,11 @@ if r:
-
- deleted_var = 3
- del deleted_var
--#? int()
-+#?
- deleted_var
--#? ['deleted_var']
-+#? []
- deleted_var
--#! ['deleted_var = 3']
-+#! []
- deleted_var
-
- # -----------------
-diff --git a/test/test_api/test_full_name.py b/test/test_api/test_full_name.py
-index 4fdb861b..6858b6ca 100644
---- a/test/test_api/test_full_name.py
-+++ b/test/test_api/test_full_name.py
-@@ -112,7 +112,8 @@ def test_os_path(Script):
-
- def test_os_issues(Script):
- """Issue #873"""
-- assert [c.name for c in Script('import os\nos.nt''').complete()] == ['nt']
-+ # nt is not found, because it's deleted
-+ assert [c.name for c in Script('import os\nos.nt''').complete()] == []
-
-
- def test_param_name(Script):
---
-2.25.1
-
More information about the arch-commits
mailing list