14
0

- 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
This commit is contained in:
2022-02-02 06:28:03 +00:00
committed by Git OBS Bridge
parent e32429bd46
commit 6b6a2a4ad0
5 changed files with 25 additions and 28 deletions

View File

@@ -1,24 +1,12 @@
Index: tasklib-1.3.0/tasklib/tests.py
Index: tasklib-2.4.3/tasklib/tests.py
===================================================================
--- tasklib-1.3.0.orig/tasklib/tests.py
+++ tasklib-1.3.0/tasklib/tests.py
@@ -64,19 +64,6 @@ class TasklibTest(unittest.TestCase):
shutil.rmtree(self.tmp)
--- 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):
-class TaskWarriorTest(TasklibTest):
-
- def test_custom_command(self):
- # ensure that a custom command which contains multiple parts
- # is properly split up
- tw = self.get_taskwarrior(
- task_command='wsl task',
- # prevent `_get_version` from running as `wsl` may not exist
- version_override=os.getenv('TASK_VERSION'),
- )
- self.assertEqual(tw._get_task_command(), ['wsl', 'task'])
-
-
class TaskFilterTest(TasklibTest):
def test_all_empty(self):
+ @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