diff options
author | Thomas Kluyver <thomas@kluyver.me.uk> | 2020-10-18 13:32:22 +0100 |
---|---|---|
committer | Thomas Kluyver <thomas@kluyver.me.uk> | 2020-10-18 13:32:22 +0100 |
commit | 34598db6e394aacf6c67f41ed73f64087884cf3f (patch) | |
tree | 3064f8636ea3298f344f3d018cb3311cbe1bb7e9 | |
parent | 02c464aac147b8235764662b8bff32a133900c7b (diff) | |
parent | 4afbc568f24c6bed2287570a2b6a2010eaed80f1 (diff) |
Merge branch 'jayvdb/pyxdg-test-sys-executable'
-rw-r--r-- | test/resources.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/resources.py b/test/resources.py index aa1a071..e2d35a8 100644 --- a/test/resources.py +++ b/test/resources.py @@ -4,6 +4,8 @@ written out to temporary files for the relevant tests. """ from __future__ import unicode_literals +import sys + # With additions from firefox.desktop, to test locale & unicode support gedit_desktop = """[Desktop Entry] Name=gedit @@ -75,10 +77,10 @@ Type=Application python_desktop = """[Desktop Entry] Name=Python Comment=Dynamic programming language -Exec=python -TryExec=python +Exec=%s +TryExec=%s Type=Application -""" +""" % (sys.executable, sys.executable) recently_used = """<?xml version="1.0"?> <RecentFiles> |