Skip to content

Commit

Permalink
Add undersscore to speechrest.py for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerjou Cheng committed Apr 9, 2016
1 parent b187310 commit aa48859
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions speech/api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ for more information.

### Install the dependencies

* If you're running the `speechrest.py` sample:
* If you're running the `speech_rest.py` sample:

```sh
$ pip install requirements-speechrest.txt
$ pip install requirements-speech_rest.txt
```

* If you're running the `speech_streaming.py` sample:
Expand All @@ -53,10 +53,10 @@ for more information.
## Run the example
* To run the `speechrest.py` sample:
* To run the `speech_rest.py` sample:
```sh
$ python speechrest.py resources/audio.raw
$ python speech_rest.py resources/audio.raw
```
You should see a response with the transcription result.
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

import re

from speechrest import main
from speech_rest import main


def test_main(resource, capsys):
Expand Down
1 change: 1 addition & 0 deletions speech/api/speech_streaming_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def mock_audio_stream(channels, rate, chunk):
return mock_audio_stream


# grpc doesn't yet support python3 https://github.com/grpc/grpc/issues/282
@pytest.mark.skipif(
sys.version_info >= (3, 0), reason="can't get grpc lib to work in python3")
def test_main(resource, monkeypatch, capsys):
Expand Down

0 comments on commit aa48859

Please sign in to comment.