Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ numpy>=1.21.6
Pillow==10.3.0
pyautogui==0.9.54
pyperclip==1.8.2
pytesseract==0.3.10
pytesseract>=0.3.13
pytest==7.2.2
hdbscan==0.8.40
python_Levenshtein==0.20.9
colorama==0.4.6
opencv-python==4.10.0.84
mss==9.0.1
qat==1.1.2
pyyaml==5.4.1
pyyaml>=5.4.1
pyscreeze==0.1.21
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
]
dependencies = [
'pyautogui',
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ numpy>=1.21.6
Pillow==10.3.0
pyautogui==0.9.54
pyperclip==1.8.2
pytesseract==0.3.10
pytesseract>=0.3.13
pytest==7.2.2
hdbscan==0.8.40
python_Levenshtein==0.20.9
colorama==0.4.6
opencv-python==4.10.0.84
mss==9.0.1
qat==1.1.2
pyyaml==5.3.1
pyyaml>=5.4
pyscreeze==0.1.21
1 change: 0 additions & 1 deletion tests/find/gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ def wrapper():


def gen(filename, w, h, font='', size=16, text='', crop=False):
global count
img = Image.open(f'tests/find/background/{filename}.jpg')
if crop:
img = crop_image(img, 600, 600)
Expand Down
4 changes: 2 additions & 2 deletions tests/test_pygats.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ def test_random_string(string_length, character_set, expectation):
("pygats/failed.png", pytest.raises(pyg.TestException)),
]
)
def test_locate_on_screen(img_path, expectation, ctx_formatter, gen_photo):
def test_locate_on_screen(img_path, expectation, ctx_formatter):
"""Test locate_on_screen"""
ctx = ctx_formatter
gen_photo
dummy = gen_photo
with expectation:
print("Проверяем изображение:", img_path)
if not os.path.exists(img_path):
Expand Down
Loading