[bug#66177,5/5] gnu: python-django-4.2: Simpler unittest skip.
Commit Message
* gnu/packages/django.scm (python-django-4.2): Simpler unittest skip.
---
gnu/packages/django.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -89,7 +89,7 @@ (define-public python-django-4.2
;; harmless, so just ignore this test.
(substitute* "tests/settings_tests/tests.py"
((".*def test_incorrect_timezone.*" all)
- (string-append " @unittest.skipIf(True, 'Disabled by Guix')\n"
+ (string-append " @unittest.skip('Disabled by Guix')\n"
all)))))
(replace 'check
(lambda* (#:key tests? test-flags #:allow-other-keys)