mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Fix error(s)
This commit is contained in:
parent
2670204dbd
commit
2effb0d429
|
@ -6,12 +6,12 @@ Test scripts are named `test_xxx.py` and use the `unittest` module. A base class
|
||||||
Execution
|
Execution
|
||||||
---------
|
---------
|
||||||
|
|
||||||
Run the tests from the root of the Pillow source distribution:
|
Run the tests from the root of the Pillow source distribution::
|
||||||
|
|
||||||
python selftest.py
|
python selftest.py
|
||||||
nosetests Tests/test_*.py
|
nosetests Tests/test_*.py
|
||||||
|
|
||||||
Or with coverage:
|
Or with coverage::
|
||||||
|
|
||||||
coverage run --append --include=PIL/* selftest.py
|
coverage run --append --include=PIL/* selftest.py
|
||||||
coverage run --append --include=PIL/* -m nose Tests/test_*.py
|
coverage run --append --include=PIL/* -m nose Tests/test_*.py
|
||||||
|
@ -19,6 +19,6 @@ Or with coverage:
|
||||||
coverage html
|
coverage html
|
||||||
open htmlcov/index.html
|
open htmlcov/index.html
|
||||||
|
|
||||||
To run an individual test:
|
To run an individual test::
|
||||||
|
|
||||||
python Tests/test_image.py
|
python Tests/test_image.py
|
||||||
|
|
Loading…
Reference in New Issue
Block a user