v0.5.3
Example document / build (push) Has been cancelled
Python application / build (push) Has been cancelled

- Мелкие исправления увеличивающие работу конвертера
This commit is contained in:
Igor20264
2026-09-10 10:50:15 +03:00
parent 510f7e7adf
commit e6b58efeb3
95 changed files with 7165 additions and 8771 deletions
+4 -4
View File
@@ -3,6 +3,8 @@
import os
import sys
import pytest
from md2gost.dnd import first_markdown, normalize_drop_paths, parse_tkdnd_files
from md2gost.pipeline import (
ConvertRequest,
@@ -80,9 +82,8 @@ def test_parser_gui_and_optional_file():
assert req.filename == "report.md"
@pytest.mark.skipif(sys.platform != "win32", reason="win32-only drag&drop API")
def test_win32_drop_api_pointer_width():
if sys.platform != "win32":
return
import ctypes
from md2gost.dnd import _win32_drop_api
api = _win32_drop_api()
@@ -91,9 +92,8 @@ def test_win32_drop_api_pointer_width():
api.CallWindowProc.argtypes[0](huge) # must not OverflowError
@pytest.mark.skipif(sys.platform != "win32", reason="win32-only drag&drop API")
def test_win32_drop_hook_survives_window_messages():
if sys.platform != "win32":
return
import tkinter as tk
from md2gost.dnd import enable_file_drop
root = tk.Tk()