File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11.PHONY : default style types tests coverage maxi_cov build clean
22
33export PYTHONASYNCIODEBUG =1
4- export PYTHONPATH =src
54export PYTHONWARNINGS =default
65
76# Work around https://github.com/python/cpython/issues/128384. This prevents
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ To test the servers:
2828
2929.. code-block :: console
3030
31- $ PYTHONPATH=src python compliance/asyncio/server.py
32- $ PYTHONPATH=src python compliance/sync/server.py
31+ $ python compliance/asyncio/server.py
32+ $ python compliance/sync/server.py
3333
3434 $ docker run --interactive --tty --rm \
3535 --volume "${PWD}/compliance/config:/config" \
@@ -51,8 +51,8 @@ To test the clients:
5151 crossbario/autobahn-testsuite \
5252 wstest --mode fuzzingserver --spec /config/fuzzingserver.json
5353
54- $ PYTHONPATH=src python compliance/asyncio/client.py
55- $ PYTHONPATH=src python compliance/sync/client.py
54+ $ python compliance/asyncio/client.py
55+ $ python compliance/sync/client.py
5656
5757 $ open compliance/reports/clients/index.html
5858
Original file line number Diff line number Diff line change 66Usage::
77 $ pip install line_profiler
88 $ python experiments/compression/corpus.py experiments/compression/corpus
9- $ PYTHONPATH=src python -m kernprof \
9+ $ python -m kernprof \
1010 --line-by-line \
1111 --prof-mod src/websockets/extensions/permessage_deflate.py \
1212 --view \
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ def check_environment():
2323 try :
2424 import websockets # noqa: F401
2525 except ImportError :
26- print ("failed to import websockets; is src on PYTHONPATH ?" )
26+ print ("failed to import websockets; is it installed ?" )
2727 return False
2828 try :
2929 import coverage # noqa: F401
You can’t perform that action at this time.
0 commit comments