gnu: python-django-4.2: Simpler unittest skip.

* gnu/packages/django.scm (python-django-4.2): Simpler unittest skip.

Signed-off-by: jgart <jgart@dismail.de>
This commit is contained in:
Nicolas Graves 2023-09-24 12:25:50 +02:00 committed by jgart
parent bfa5b66b02
commit 474b583e7a
No known key found for this signature in database
GPG key ID: A52AA2B477B6DD35

View file

@ -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)