Skip to content

Clipboard test failure on windows #5895

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ghost opened this issue Jan 9, 2014 · 2 comments
Closed

Clipboard test failure on windows #5895

ghost opened this issue Jan 9, 2014 · 2 comments
Labels
Bug Testing pandas testing functions or related to the test suite Unreliable Test Unit tests that occasionally fail
Milestone

Comments

@ghost
Copy link

ghost commented Jan 9, 2014

Intermittent, seen on 2.7 64bits

======================================================================
ERROR: test_round_trip_frame_string (classname)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\Python27-AMD64\Lib\unittest\case.py", line 331, in run
    testMethod()
  File "C:\workspace\pandas_tests\BITS\64\PYTHONVER\27\pandas\io\tests\test_clipboard.py", line 63, in test_round_trip_frame_string
    self.check_round_trip_frame(dt,excel=False)
  File "C:\workspace\pandas_tests\BITS\64\PYTHONVER\27\pandas\io\tests\test_clipboard.py", line 50, in check_round_trip_frame
    data.to_clipboard(excel=excel, sep=sep)
  File "C:\workspace\pandas_tests\BITS\64\PYTHONVER\27\pandas\core\generic.py", line 934, in to_clipboard
    clipboard.to_clipboard(self, excel=excel, sep=sep, **kwargs)
  File "C:\workspace\pandas_tests\BITS\64\PYTHONVER\27\pandas\io\clipboard.py", line 76, in to_clipboard
    clipboard_set(objstr)
  File "C:\workspace\pandas_tests\BITS\64\PYTHONVER\27\pandas\util\clipboard.py", line 72, in winSetClipboard
    ctypes.cdll.msvcrt.strcpy(ctypes.c_char_p(pchData), bytes(text))
WindowsError: exception: access violation writing 0x0000000000000000
@jreback
Copy link
Contributor

jreback commented Jan 9, 2014

prob need a skip_if_windows

@ghost
Copy link
Author

ghost commented Jan 15, 2014

Unreliable tests, probably correlated with some other failures. Leave it for now.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Testing pandas testing functions or related to the test suite Unreliable Test Unit tests that occasionally fail
Projects
None yet
Development

No branches or pull requests

1 participant