Skip to content

Commit 272487e

Browse files
committed
fix merge conficts
1 parent d3bc51d commit 272487e

6 files changed

Lines changed: 2 additions & 10 deletions

File tree

tests/test_benchmark.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,13 @@
1515
# limitations under the License.
1616
#
1717
# pytest --benchmark-enable --benchmark-timer=time.process_time tika/tests/test_benchmark.py
18-
import os
1918
import gzip
20-
from pathlib import Path
21-
import unittest
2219
import zlib
2320
from http import HTTPStatus
21+
from pathlib import Path
2422

2523
import tika.parser
2624

27-
2825
TEST_FILE_PATH = Path(__file__).parent / "files" / "rwservlet.pdf"
2926
HEADERS = {"Accept-Encoding": "gzip, deflate"}
3027

tests/test_detector.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from tika import detector
44

5-
65
TEST_FILE_PATH = Path(__file__).parent / "files" / "rwservlet.pdf"
76

87

tests/test_language.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from tika import language
44

5-
65
TEST_FILE_PATH = Path(__file__).parent / "files" / "rwservlet.pdf"
76

87

tests/test_pdf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from tika import pdf
44

5-
65
TEST_FILE_PATH = Path(__file__).parent / "files" / "rwservlet.pdf"
76

87

tests/test_tika.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,12 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
from pathlib import Path
1817
from http import HTTPStatus
18+
from pathlib import Path
1919

2020
import tika.parser
2121
import tika.tika
2222

23-
2423
TEST_FILE_PATH = Path(__file__).parent / "files" / "rwservlet.pdf"
2524

2625

tests/test_unpack.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from tika import unpack
44

5-
65
# Test data
76
TEXT_UTF8 = "Hello, world!! 😎 👽"
87
TEXT_ASCII = "Hello, world!!"

0 commit comments

Comments
 (0)