openbsd-ports/devel/py-setproctitle/patches/patch-tests_setproctitle_test_py
2016-11-01 22:10:24 +00:00

13 lines
545 B
Plaintext

$OpenBSD: patch-tests_setproctitle_test_py,v 1.2 2016/11/01 22:10:24 danj Exp $
--- tests/setproctitle_test.py.orig Wed May 11 18:33:38 2016
+++ tests/setproctitle_test.py Tue Nov 1 22:21:07 2016
@@ -486,7 +486,7 @@ class SetproctitleTestCase(unittest.TestCase):
if 'bsd' in sys.platform:
procname = os.path.basename(sys.executable)
title = ' '.join([t for t in title.split(' ')
- if procname not in t])
+ if (procname not in t and 'python' not in t)])
return title