Skip to content

Instantly share code, notes, and snippets.

@LnL7
Last active October 11, 2016 20:26
Show Gist options
  • Save LnL7/cdf69b7f231bdedfef5c11ce0c276c7f to your computer and use it in GitHub Desktop.
Save LnL7/cdf69b7f231bdedfef5c11ce0c276c7f to your computer and use it in GitHub Desktop.
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 52531d6..6f7c3a3 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -28766,36 +28766,7 @@ in modules // {
# Some of the tests fail on darwin with `error: AF_UNIX path too long'
# because of the *long* path names for sockets
- patchPhase = optionalString stdenv.isDarwin ''
- sed -i -e "s|test_create_ssl_unix_connection|skip_test_create_ssl_unix_connection|" tests/test_events.py
- sed -i -e "s|test_create_unix_connection|skip_test_create_unix_connection|" tests/test_events.py
- sed -i -e "s|test_create_unix_connection|skip_test_create_unix_connection|" tests/test_events.py
- sed -i -e "s|test_create_unix_connection|skip_test_create_unix_connection|" tests/test_events.py
- sed -i -e "s|test_create_unix_server_existing_path_nonsock|skip_test_create_unix_server_existing_path_nonsock|" tests/test_unix_events.py
- sed -i -e "s|test_create_unix_server_existing_path_sock|skip_test_create_unix_server_existing_path_sock|" tests/test_unix_events.py
- sed -i -e "s|test_create_unix_server_ssl_verified|skip_test_create_unix_server_ssl_verified|" tests/test_events.py
- sed -i -e "s|test_create_unix_server_ssl_verified|skip_test_create_unix_server_ssl_verified|" tests/test_events.py
- sed -i -e "s|test_create_unix_server_ssl_verified|skip_test_create_unix_server_ssl_verified|" tests/test_events.py
- sed -i -e "s|test_create_unix_server_ssl_verify_failed|skip_test_create_unix_server_ssl_verify_failed|" tests/test_events.py
- sed -i -e "s|test_create_unix_server_ssl_verify_failed|skip_test_create_unix_server_ssl_verify_failed|" tests/test_events.py
- sed -i -e "s|test_create_unix_server_ssl_verify_failed|skip_test_create_unix_server_ssl_verify_failed|" tests/test_events.py
- sed -i -e "s|test_create_unix_server_ssl|skip_test_create_unix_server_ssl|" tests/test_events.py
- sed -i -e "s|test_create_unix_server_ssl|skip_test_create_unix_server_ssl|" tests/test_events.py
- sed -i -e "s|test_create_unix_server_ssl|skip_test_create_unix_server_ssl|" tests/test_events.py
- sed -i -e "s|test_create_unix_server|skip_test_create_unix_server|" tests/test_events.py
- sed -i -e "s|test_create_unix_server|skip_test_create_unix_server|" tests/test_events.py
- sed -i -e "s|test_create_unix_server|skip_test_create_unix_server|" tests/test_events.py
- sed -i -e "s|test_open_unix_connection_error|skip_test_open_unix_connection_error|" tests/test_streams.py
- sed -i -e "s|test_open_unix_connection_no_loop_ssl|skip_test_open_unix_connection_no_loop_ssl|" tests/test_streams.py
- sed -i -e "s|test_open_unix_connection|skip_test_open_unix_connection|" tests/test_streams.py
- sed -i -e "s|test_pause_reading|skip_test_pause_reading|" tests/test_subprocess.py
- sed -i -e "s|test_read_pty_output|skip_test_read_pty_output|" tests/test_events.py
- sed -i -e "s|test_start_unix_server|skip_test_start_unix_server|" tests/test_streams.py
- sed -i -e "s|test_unix_sock_client_ops|skip_test_unix_sock_client_ops|" tests/test_events.py
- sed -i -e "s|test_unix_sock_client_ops|skip_test_unix_sock_client_ops|" tests/test_events.py
- sed -i -e "s|test_unix_sock_client_ops|skip_test_unix_sock_client_ops|" tests/test_events.py
- sed -i -e "s|test_write_pty|skip_test_write_pty|" tests/test_events.py
- '' + optionalString isPy26 ''
+ patchPhase = optionalString isPy26 ''
sed -i -e "s|test_env_var_debug|skip_test_env_var_debug|" tests/test_tasks.py
'';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment