kenkundert / inform Goto Github PK
View Code? Open in Web Editor NEWLibrary of print utilities used when outputting messages for the user from command-line programs.
Home Page: https://inform.readthedocs.io
License: MIT License
Library of print utilities used when outputting messages for the user from command-line programs.
Home Page: https://inform.readthedocs.io
License: MIT License
The root LICENSE file claims to be MIT. But inform/inform.py refers to GPL 3
Which is it?
The module num2words
is a new dependency for tests. It is not listed in the appropriate section of pyproject.toml
Hi,
It looks to me like the tests in v1.27 assume that the source is in an 'inform' directory. However, during the alpine package build process the source is extracted into an 'inform-1.27' directory. This causes the following test to fail:
=================================== FAILURES ===================================
________________________________ test_prostrate ________________________________
capsys = <_pytest.capture.CaptureFixture object at 0x7f0e77e4ace0>
def test_prostrate(capsys):
Inform(colorscheme=None, prog_name=False)
sss()
out, err = capsys.readouterr()
out = out.strip().split('\n')
assert out[0] == 'DEBUG: test_debug.py, 129, tests.test_debug.test_prostrate():'
> assert out[-2][-57:] == "inform/tests/test_debug.py', line 129, in test_prostrate,"
E AssertionError: assert 'm-1.27/tests...st_prostrate,' == 'inform/tests...st_prostrate,'
E - inform/tests/test_debug.py', line 129, in test_prostrate,
E ? -----
E + m-1.27/tests/test_debug.py', line 129, in test_prostrate,
E ? +++++
tests/test_debug.py:133: AssertionError
=========================== short test summary info ============================
FAILED tests/test_debug.py::test_prostrate - AssertionError: assert 'm-1.27/t...
======================== 1 failed, 187 passed in 2.22s =========================
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.