diff options
author | Marius Bakke <mbakke@fastmail.com> | 2020-04-15 19:26:55 +0200 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2020-04-15 19:26:55 +0200 |
commit | bd21acf6c390e4fe87eb6053f0b5185d6ecbcf9f (patch) | |
tree | 09fe91a8351471e5e7a821cb28521dd9b9d7e357 /gnu/packages/patches/python-jedi-deleted-variables.patch | |
parent | a4f1a7e2db22cd028fb514846c2791928b8734d3 (diff) | |
parent | b44e19acd1a0d449427cea0333f02ac98605be1c (diff) | |
download | guix-bd21acf6c390e4fe87eb6053f0b5185d6ecbcf9f.tar.gz |
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/packages/patches/python-jedi-deleted-variables.patch')
-rw-r--r-- | gnu/packages/patches/python-jedi-deleted-variables.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/gnu/packages/patches/python-jedi-deleted-variables.patch b/gnu/packages/patches/python-jedi-deleted-variables.patch deleted file mode 100644 index 53bdc05cde..0000000000 --- a/gnu/packages/patches/python-jedi-deleted-variables.patch +++ /dev/null @@ -1,38 +0,0 @@ -Fix test failure in some environments, including Guix. - -Taken from upstream: -https://github.com/davidhalter/jedi/commit/bec87f7ff82b0731713c6520a14c213341b4cecf - -diff --git a/test/completion/basic.py b/test/completion/basic.py -index b40068179..3ff919ca6 100644 ---- a/test/completion/basic.py -+++ b/test/completion/basic.py -@@ -209,11 +209,11 @@ def global_as_import(): - - 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 4fdb861b0..6858b6ca8 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): |