File: 0001-Remove-slimit-test.patch

package info (click to toggle)
django-pipeline 1.6.14-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 780 kB
  • sloc: python: 2,756; makefile: 119
file content (25 lines) | stat: -rw-r--r-- 976 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Brian May <bam@debian.org>
Date: Thu, 24 Mar 2016 09:03:33 +1100
Subject: Remove slimit test

slimit is not Python 3 compatible and not maintained upstream
any more. Use jsmin instead.
---
 tests/tests/test_compressor.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/tests/tests/test_compressor.py b/tests/tests/test_compressor.py
index f774373..5446ee9 100644
--- a/tests/tests/test_compressor.py
+++ b/tests/tests/test_compressor.py
@@ -228,10 +228,6 @@ class CompressorImplementationTest(TestCase):
         self._test_compressor('pipeline.compressors.jsmin.JSMinCompressor',
             'js', 'pipeline/compressors/jsmin.js')
 
-    def test_slimit(self):
-        self._test_compressor('pipeline.compressors.slimit.SlimItCompressor',
-            'js', 'pipeline/compressors/slimit.js')
-
     @skipUnless(settings.HAS_NODE, "requires node")
     def test_uglifyjs(self):
         self._test_compressor('pipeline.compressors.uglifyjs.UglifyJSCompressor',