14
0
Files
python-tasklib/disable-windows-test.patch
Steve Kowalik 6b6a2a4ad0 - Update to 2.4.3:
* Support for Taskwarrior 2.6
  * Support for tzlocal>=3.0
  * Official support for Python 3.9 in the test matrix 
- Rewrite disable-windows-test.patch to be suitable for upstream

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tasklib?expand=0&rev=8
2022-02-02 06:28:03 +00:00

13 lines
494 B
Diff

Index: tasklib-2.4.3/tasklib/tests.py
===================================================================
--- tasklib-2.4.3.orig/tasklib/tests.py
+++ tasklib-2.4.3/tasklib/tests.py
@@ -66,6 +66,7 @@ class TasklibTest(unittest.TestCase):
class TaskWarriorTest(TasklibTest):
+ @unittest.skipUnless(sys.platform.startswith("win"), "requires Windows")
def test_custom_command(self):
# ensure that a custom command which contains multiple parts
# is properly split up