summaryrefslogtreecommitdiff
path: root/dev-python/pid
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-01-27 18:51:38 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-01-27 18:51:38 +0000
commita10e2cf24faeabac05de775c911cf866e1e12e10 (patch)
tree545b27a953714edd2ecc9fe94b8a24b3b35e631f /dev-python/pid
parent19052c5de51c78bc6b675dc499084810e6b7a218 (diff)
downloadbaldeagleos-repo-a10e2cf24faeabac05de775c911cf866e1e12e10.tar.gz
baldeagleos-repo-a10e2cf24faeabac05de775c911cf866e1e12e10.tar.xz
baldeagleos-repo-a10e2cf24faeabac05de775c911cf866e1e12e10.zip
Updating liguros repo
Diffstat (limited to 'dev-python/pid')
-rw-r--r--dev-python/pid/files/pid-2.2.5-fix_tests.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/dev-python/pid/files/pid-2.2.5-fix_tests.patch b/dev-python/pid/files/pid-2.2.5-fix_tests.patch
deleted file mode 100644
index 3184e631ee77..000000000000
--- a/dev-python/pid/files/pid-2.2.5-fix_tests.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff --git a/tests/test_pid.py b/tests/test_pid.py
-index 28fda19..99e2a29 100644
---- a/tests/test_pid.py
-+++ b/tests/test_pid.py
-@@ -170,13 +170,13 @@ def test_pid_already_locked_custom_name():
- def test_pid_already_locked_multi_process():
- with pid.PidFile() as _pid:
- s = '''
--import pid
--with pid.PidFile("pytest", piddir="/tmp"):
-+import os, pid, sys
-+with pid.PidFile(os.path.basename(sys.argv[0]), piddir="/tmp"):
- pass
- '''
-- result = run(['python', '-c', s])
-+ result = run([sys.executable, '-c', s])
- returncode = result if isinstance(result, int) else result.returncode
-- assert returncode == 1
-+ assert returncode == 0
- assert os.path.exists(_pid.filename)
- assert not os.path.exists(_pid.filename)
-
-@@ -189,7 +189,7 @@ with pid.PidFile("pytest2", piddir="/tmp") as _pid:
- assert os.path.exists(_pid.filename)
- assert not os.path.exists(_pid.filename)
- '''
-- result = run(['python', '-c', s])
-+ result = run([sys.executable, '-c', s])
- returncode = result if isinstance(result, int) else result.returncode
- assert returncode == 0
- assert os.path.exists(_pid.filename)