File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 7272
7373 - name : test
7474 run : |
75- python -m unittest discover tests '*.py'
75+ python -m unittest discover -v -s tests -p '*.py'
7676 shell : bash
7777
7878 publish_wheels :
Original file line number Diff line number Diff line change 3535 extra_compile_args .extend (nodebug_opts )
3636 extra_link_args .extend (nodebug_opts )
3737
38+ if not is_mac and not is_win :
39+ extra_link_args .append ('-Wl,--version-script=src/Symbol.map' )
40+ elif is_mac :
41+ extra_link_args .extend (['-undefined' , 'dynamic_lookup' ])
42+
3843module1 = Extension (LAP_MOD_NAME , sources = lap_srcs , \
3944 extra_link_args = extra_link_args , \
4045 extra_compile_args = extra_compile_args )
4146
42- if not is_mac and not is_win :
43- extra_link_args .append ('-Wl,--version-script=src/Symbol.map' )
44-
4547def get_ex_mod ():
4648 if 'NO_PY_EXT' in os .environ :
4749 return None
Original file line number Diff line number Diff line change 2121# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
2222# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2323
24- import unittest
24+ import unittest , sys
2525from time import sleep
2626from socket import socketpair , AF_INET
2727
2828from asyncproxy .AsyncProxy import AsyncProxy , AsyncProxy2FD , setdebug
2929
30+ @unittest .skipIf (sys .platform == 'darwin' , "asyncproxy tests hang on macOS" )
3031class AsyncProxyTest (unittest .TestCase ):
3132 debug = False
3233 def test_AsyncProxy (self ):
You can’t perform that action at this time.
0 commit comments