Skip to content
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

FAIL: traitsui.tests.test_splitter_prefs_restored.test_splitter_prefs_are_restored #423

Open
itziakos opened this issue Feb 14, 2018 · 5 comments
Labels
component: test suite Issues related to testing, test support, test interactions... type: bug

Comments

@itziakos
Copy link
Member

itziakos commented Feb 14, 2018

Seen on a Windows 10 machine running using python 3.5.2 and pyqt5

======================================================================
FAIL: traitsui.tests.test_splitter_prefs_restored.test_splitter_prefs_are_restored
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\...\.edm\envs\traitsui-test-3.5-pyqt5\lib\site-packages\nose\case.py", line 198, in runTest
    self.test(*self.arg)
  File "C:\Users\...\.edm\envs\traitsui-test-3.5-pyqt5\lib\site-packages\traitsui-5.2.0.dev356-py3.5.egg\traitsui\tests\_tools.py", line 88, in wrapper
    return item(*args, **kwargs)
  File "C:\Users\...\.edm\envs\traitsui-test-3.5-pyqt5\lib\site-packages\traitsui-5.2.0.dev356-py3.5.egg\traitsui\tests\test_splitter_prefs_restored.py", line 136, in test_splitter_prefs_are_restored
    _get_nattr(ui2.get_prefs()))
AssertionError: b'\x0[54 chars]x00\x00\x00\x00\x02M\x01\xff\xff\xff\xff\x00\x[14 chars]\x01' != b'\x0[54 chars]x00\x89\x00\x00\x02"\x01\xff\xff\xff\xff\x00\x[14 chars]\x01'
@corranwebster
Copy link
Contributor

I am also seeing this regularly on my local machine (MacOS 10.13, both Python 3 and Python 2.7; pyside and pyqt), but not on Travis CI or Appveyor.

@rahulporuri
Copy link
Contributor

closing as this seems to have been fixed in #1092

@aaronayres35
Copy link
Contributor

I am still seeing this regularly locally when I run the test suite:

FAIL: test_splitter_prefs_are_restored (traitsui.tests.test_splitter_prefs_restored.TestSplitterPrefsRestored)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/aayres/Desktop/traitsui/traitsui/tests/test_splitter_prefs_restored.py", line 148, in test_splitter_prefs_are_restored
    collapsed_splitter_state, _get_nattr(ui2.get_prefs())
AssertionError: b'\x0[52 chars]0\x00\x00\x00\x00\x02A\x01\xff\xff\xff\xff\x00[16 chars]\x01' != b'\x0[52 chars]0\x00l\x00\x00\x02\x16\x01\xff\xff\xff\xff\x00[16 chars]\x01'

----------------------------------------------------------------------

but as mentioned it does not occur on CI for some reason

@rahulporuri
Copy link
Contributor

reopening - and it looks like this is an osx only issue.

@rahulporuri rahulporuri reopened this Apr 27, 2021
@rahulporuri rahulporuri added the component: test suite Issues related to testing, test support, test interactions... label Apr 27, 2021
@itziakos
Copy link
Member Author

itziakos commented Nov 4, 2022

This error is still visible using Python 3.6, traitsui 7.4.2 and PyQt5-5.14.2 (using Qt 5.12.6) on macos 10.15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: test suite Issues related to testing, test support, test interactions... type: bug
Projects
None yet
Development

No branches or pull requests

4 participants