add patches to fix tests, ok mbuhl

This commit is contained in:
sthen 2022-11-09 00:21:37 +00:00
parent d76dbbe21d
commit cb4a7cead4
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,12 @@
Index: test/test_socket.py
--- test/test_socket.py.orig
+++ test/test_socket.py
@@ -3,7 +3,7 @@ import unittest
from test_sslsocket import ServerAcceptor
-import _import_local_thrift # noqa
+import thrift
from thrift.transport.TSocket import TServerSocket
from thrift.transport.TSocket import TSocket

View File

@ -0,0 +1,12 @@
Index: test/test_sslsocket.py
--- test/test_sslsocket.py.orig
+++ test/test_sslsocket.py
@@ -29,7 +29,7 @@ import unittest
import warnings
from contextlib import contextmanager
-import _import_local_thrift # noqa
+import thrift
SCRIPT_DIR = os.path.realpath(os.path.dirname(__file__))
ROOT_DIR = os.path.dirname(os.path.dirname(os.path.dirname(SCRIPT_DIR)))