diff options
| author | robot-piglet <[email protected]> | 2024-12-09 18:25:21 +0300 |
|---|---|---|
| committer | robot-piglet <[email protected]> | 2024-12-09 19:18:57 +0300 |
| commit | 13374e0884578812cda7697d0c5680122db59a37 (patch) | |
| tree | 30a022eb841035299deb2b8c393b2902f0c21735 /contrib/python/websocket-client/py3/patches | |
| parent | c7ade6d3bf7cd492235a61b77153351e422a28f3 (diff) | |
Intermediate changes
commit_hash:034150f557268506d7bc0cbd8b5becf65f765593
Diffstat (limited to 'contrib/python/websocket-client/py3/patches')
| -rw-r--r-- | contrib/python/websocket-client/py3/patches/01-fix-tests.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/contrib/python/websocket-client/py3/patches/01-fix-tests.patch b/contrib/python/websocket-client/py3/patches/01-fix-tests.patch deleted file mode 100644 index 28d7c74be30..00000000000 --- a/contrib/python/websocket-client/py3/patches/01-fix-tests.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- contrib/python/websocket-client/py3/websocket/tests/test_http.py (index) -+++ contrib/python/websocket-client/py3/websocket/tests/test_http.py (working tree) -@@ -74,7 +74,8 @@ class HeaderSockMock(SockMock): - - def __init__(self, fname): - SockMock.__init__(self) -- path = os.path.join(os.path.dirname(__file__), fname) -+ import yatest.common as yc -+ path = os.path.join(os.path.dirname(yc.source_path(__file__)), fname) - with open(path, "rb") as f: - self.add_packet(f.read()) - ---- contrib/python/websocket-client/py3/websocket/tests/test_websocket.py (index) -+++ contrib/python/websocket-client/py3/websocket/tests/test_websocket.py (working tree) -@@ -86,7 +86,8 @@ class HeaderSockMock(SockMock): - - def __init__(self, fname): - SockMock.__init__(self) -- path = os.path.join(os.path.dirname(__file__), fname) -+ import yatest.common as yc -+ path = os.path.join(os.path.dirname(yc.source_path(__file__)), fname) - with open(path, "rb") as f: - self.add_packet(f.read()) - |
