File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515# limitations under the License.
1616#
1717# pytest --benchmark-enable --benchmark-timer=time.process_time tika/tests/test_benchmark.py
18- import os
1918import gzip
20- from pathlib import Path
21- import unittest
2219import zlib
2320from http import HTTPStatus
21+ from pathlib import Path
2422
2523import tika .parser
2624
27-
2825TEST_FILE_PATH = Path (__file__ ).parent / "files" / "rwservlet.pdf"
2926HEADERS = {"Accept-Encoding" : "gzip, deflate" }
3027
Original file line number Diff line number Diff line change 22
33from tika import detector
44
5-
65TEST_FILE_PATH = Path (__file__ ).parent / "files" / "rwservlet.pdf"
76
87
Original file line number Diff line number Diff line change 22
33from tika import language
44
5-
65TEST_FILE_PATH = Path (__file__ ).parent / "files" / "rwservlet.pdf"
76
87
Original file line number Diff line number Diff line change 22
33from tika import pdf
44
5-
65TEST_FILE_PATH = Path (__file__ ).parent / "files" / "rwservlet.pdf"
76
87
Original file line number Diff line number Diff line change 1414# See the License for the specific language governing permissions and
1515# limitations under the License.
1616
17- from pathlib import Path
1817from http import HTTPStatus
18+ from pathlib import Path
1919
2020import tika .parser
2121import tika .tika
2222
23-
2423TEST_FILE_PATH = Path (__file__ ).parent / "files" / "rwservlet.pdf"
2524
2625
Original file line number Diff line number Diff line change 22
33from tika import unpack
44
5-
65# Test data
76TEXT_UTF8 = "Hello, world!! 😎 👽"
87TEXT_ASCII = "Hello, world!!"
You can’t perform that action at this time.
0 commit comments