Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,17 @@ though it can be coded in such a way to make the encoding configurable, the
decision has been made to keep with the decision made by ctypes and hence put
the onus on the developer to decode/encode the input/output as necessary.

Test Manually
-------------

To run tests manually, install ``mock``, ``nose`` and ``nose-cov`` from pip::

pip install -r test_requirements.txt

and run::

python -m nose --with-cov --cover-erase --cov yajl -v tests/

Contributions
-------------

Expand Down
2 changes: 2 additions & 0 deletions tests/test_yajl_c.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ def assertSameAsGold(self, filename):
with open('%s.gold' %filename, 'rb') as f:
expected = f.read()
# we currently do not test for memory leaks
if os.name == 'nt':
expected = b'\n'.join(expected.split(b'\r\n'))
expected = expected.replace(b'memory leaks:\t0\n', b'')
self.out.seek(0)
got = self.out.read()
Expand Down