Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP1
python-ansi2html.24314
remove_nose.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File remove_nose.patch of Package python-ansi2html.24314
diff -ru ansi2html-1.5.2/tests/test_ansi2html.py ansi2html-1.5.2-new/tests/test_ansi2html.py --- a/tests/test_ansi2html.py 2018-10-22 16:44:16.000000000 +0200 +++ b/tests/test_ansi2html.py 2020-03-26 08:24:03.619984982 +0100 @@ -31,7 +31,6 @@ from ansi2html.util import read_to_unicode from mock import patch -from nose.tools import eq_ import unittest import six @@ -117,7 +116,8 @@ with patch("sys.stdin", new_callable=lambda: six.StringIO(test_input)): main() - eq_(mock_stdout.getvalue(), test_input) + ms_val = mock_stdout.getvalue() + assert ms_val == test_input, "%r != %r" % (ms_val, test_input) @patch("sys.argv", new_callable=lambda: ["ansi2html", "--partial"]) @patch("sys.stdout", new_callable=six.StringIO) diff -ru ansi2html-1.5.2/tox.ini ansi2html-1.5.2-new/tox.ini --- a/tox.ini 2018-10-22 16:44:16.000000000 +0200 +++ b/tox.ini 2020-03-26 08:24:03.619984982 +0100 @@ -9,8 +9,7 @@ py35: python3.5 py36: python3.6 deps = - nose mock sitepackages = False commands = - nosetests tests/test_ansi2html.py + unittest tests/test_ansi2html.py
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