Comments (7)
Can you supply details of platform, Python version etc?
All tests pass just fine for me on Windows with Python 2.7
from envisage.
platform is linux; gentoo which distro shouldn't impact.
installed pythons;
Installed versions: 2.5.4-r4(2.5)(19:07:32 05/02/12)
2.6.8(2.6) (16:52:24 17/05/12)
2.7.3-r1(2.7)(20:52:05 26/06/12)
3.1.4-r4(3.1)(01:13:23 04/05/12)
3.2.3-r1(3.2)(20:29:00 26/06/12)
Gentoo does make a pretty stringent sandbox in which it executes the ebuild. Sometimes that impacts, don't know on this 1.
from envisage.
Which version of Python is being used to run the tests? I don't have Linux here but the problem will more than likely be caused by the test eggs not being found because of platform/python version.
from envisage.
ah right;
-
Testing of dev-python/envisage-4.1.0 with CPython 2.7...
Traceback (most recent call last):
FAIL: no include or exclude
File "/mnt/gen2/TmpDir/portage/dev-python/envisage-4.1.0/work/envisage-4.1.0/envisage/tests/egg_plugin_manager_test_case.py", line 37, in test_no_include_or_exclude
self.assert_('acme.foo' in ids)
AssertionError: False is not true
-------------------- >> begin captured logging << --------------------
envisage.egg_plugin_manager: DEBUG: egg plugin manager found plugins <[<envisage.core_plugin.CorePlugin object at 0x3099fb0>]>
--------------------- >> end captured logging << ---------------------
Ran 158 tests in 3.302s
FAILED (failures=5)
- ERROR: dev-python/envisage-4.1.0 failed (test phase):
- Testing failed with CPython 2.7 in python_test_function() function
you have a fix or a workaround to this? Why just this single test when it passes 153 others??????
from envisage.
The only painful thing to test was the egg-based plugin manager which is just one optional part of Envisage... None of the other test cases use eggs hence they aren't susceptible to platform/versioning issues.
from envisage.
I think this is now fixed.
Mind if I close it, @idella ?
from envisage.
sure that's good
from envisage.
Related Issues (20)
- Include changelog in generated documentation
- Remove legacy examples HOT 1
- Review release checklist HOT 2
- Use pyproject.toml
- DeprecationWarning for declare_namespace HOT 5
- Drop wxPython support in `etstool.py`
- Consider applying black and isort HOT 1
- Remove PySide6 workflow restrictions after next Pyface release HOT 1
- Fix Plugin.__repr__ to include class name
- PluginManager.include and PluginManager.exclude are not useful HOT 4
- Fix test suite to work with pytest
- Check tests don't write to the user's home directory HOT 1
- Deprecate EggBasketPluginManager and EggPluginManager
- Egg building tests leave 'build' directories behind HOT 2
- Remove PluginManager include and exclude traits
- Remove EggPluginManager, EggBasketPluginManager, PackagePluginManager HOT 1
- Add automated documentation build
- Remove PySide6-related test skips HOT 2
- EggPluginManager tests fail when run standalone HOT 2
- Test test_layout_load fails on i3wm (tiling window manager) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from envisage.