Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dgarcia:python312:numeric
python-traittypes
python-traittypes-remove-nose.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-traittypes-remove-nose.patch of Package python-traittypes
Index: traittypes-0.2.1/traittypes/tests/test_import_errors.py =================================================================== --- traittypes-0.2.1.orig/traittypes/tests/test_import_errors.py 2018-04-27 16:58:52.000000000 +0200 +++ traittypes-0.2.1/traittypes/tests/test_import_errors.py 2020-07-16 10:15:52.059154494 +0200 @@ -1,10 +1,10 @@ -import nose.tools as nt +import pytest from ..traittypes import _DelayedImportError -@nt.raises(RuntimeError) def test_delayed_access_raises(): dummy = _DelayedImportError('mypackage') - dummy.asarray([1, 2, 3]) + with pytest.raises(RuntimeError): + dummy.asarray([1, 2, 3])
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor