Update Documentation For Minimum Requirements
This commit is contained in:
@@ -29,7 +29,7 @@ A list of missing exercise can be found here: http://exercism.io/languages/pytho
|
||||
|
||||
### Testing
|
||||
|
||||
All exercises must be compatible with Python versions 2.7 and 3.3 upwards.
|
||||
All exercises must be compatible with Python versions 2.7 and 3.4 upwards.
|
||||
|
||||
To test a single exercise (e.g., with Python 2.7):
|
||||
```
|
||||
|
||||
@@ -23,7 +23,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test {{ .Spec.SnakeCaseName }}_test.py`
|
||||
- Python 3.3+: `pytest {{ .Spec.SnakeCaseName }}_test.py`
|
||||
- Python 3.4+: `pytest {{ .Spec.SnakeCaseName }}_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest {{ .Spec.SnakeCaseName }}_test.py`
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
|
||||
If Python isn't already available on your system follow the instructions at [the Hitchhiker's Guide to Python](http://docs.python-guide.org/en/latest/starting/installation/) to install Python on your computer.
|
||||
|
||||
Exercism currently supports Python2.7 and Python 3.3+.
|
||||
Exercism currently supports Python2.7 and Python 3.4+.
|
||||
|
||||
@@ -44,7 +44,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test accumulate_test.py`
|
||||
- Python 3.3+: `pytest accumulate_test.py`
|
||||
- Python 3.4+: `pytest accumulate_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest accumulate_test.py`
|
||||
|
||||
@@ -26,7 +26,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test acronym_test.py`
|
||||
- Python 3.3+: `pytest acronym_test.py`
|
||||
- Python 3.4+: `pytest acronym_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest acronym_test.py`
|
||||
|
||||
@@ -50,7 +50,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test all_your_base_test.py`
|
||||
- Python 3.3+: `pytest all_your_base_test.py`
|
||||
- Python 3.4+: `pytest all_your_base_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest all_your_base_test.py`
|
||||
|
||||
@@ -48,7 +48,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test allergies_test.py`
|
||||
- Python 3.3+: `pytest allergies_test.py`
|
||||
- Python 3.4+: `pytest allergies_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest allergies_test.py`
|
||||
|
||||
@@ -50,7 +50,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test alphametics_test.py`
|
||||
- Python 3.3+: `pytest alphametics_test.py`
|
||||
- Python 3.4+: `pytest alphametics_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest alphametics_test.py`
|
||||
|
||||
@@ -25,7 +25,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test anagram_test.py`
|
||||
- Python 3.3+: `pytest anagram_test.py`
|
||||
- Python 3.4+: `pytest anagram_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest anagram_test.py`
|
||||
|
||||
@@ -30,7 +30,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test armstrong_numbers_test.py`
|
||||
- Python 3.3+: `pytest armstrong_numbers_test.py`
|
||||
- Python 3.4+: `pytest armstrong_numbers_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest armstrong_numbers_test.py`
|
||||
|
||||
@@ -47,7 +47,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test atbash_cipher_test.py`
|
||||
- Python 3.3+: `pytest atbash_cipher_test.py`
|
||||
- Python 3.4+: `pytest atbash_cipher_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest atbash_cipher_test.py`
|
||||
|
||||
@@ -45,7 +45,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test bank_account_test.py`
|
||||
- Python 3.3+: `pytest bank_account_test.py`
|
||||
- Python 3.4+: `pytest bank_account_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest bank_account_test.py`
|
||||
|
||||
@@ -339,7 +339,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test beer_song_test.py`
|
||||
- Python 3.3+: `pytest beer_song_test.py`
|
||||
- Python 3.4+: `pytest beer_song_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest beer_song_test.py`
|
||||
|
||||
@@ -72,7 +72,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test binary_search_tree_test.py`
|
||||
- Python 3.3+: `pytest binary_search_tree_test.py`
|
||||
- Python 3.4+: `pytest binary_search_tree_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest binary_search_tree_test.py`
|
||||
|
||||
@@ -53,7 +53,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test binary_search_test.py`
|
||||
- Python 3.3+: `pytest binary_search_test.py`
|
||||
- Python 3.4+: `pytest binary_search_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest binary_search_test.py`
|
||||
|
||||
@@ -49,7 +49,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test binary_test.py`
|
||||
- Python 3.3+: `pytest binary_test.py`
|
||||
- Python 3.4+: `pytest binary_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest binary_test.py`
|
||||
|
||||
@@ -32,7 +32,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test bob_test.py`
|
||||
- Python 3.3+: `pytest bob_test.py`
|
||||
- Python 3.4+: `pytest bob_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest bob_test.py`
|
||||
|
||||
@@ -86,7 +86,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test book_store_test.py`
|
||||
- Python 3.3+: `pytest book_store_test.py`
|
||||
- Python 3.4+: `pytest book_store_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest book_store_test.py`
|
||||
|
||||
@@ -79,7 +79,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test bowling_test.py`
|
||||
- Python 3.3+: `pytest bowling_test.py`
|
||||
- Python 3.4+: `pytest bowling_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest bowling_test.py`
|
||||
|
||||
@@ -23,7 +23,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test bracket_push_test.py`
|
||||
- Python 3.3+: `pytest bracket_push_test.py`
|
||||
- Python 3.4+: `pytest bracket_push_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest bracket_push_test.py`
|
||||
|
||||
@@ -35,7 +35,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test change_test.py`
|
||||
- Python 3.3+: `pytest change_test.py`
|
||||
- Python 3.4+: `pytest change_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest change_test.py`
|
||||
|
||||
@@ -69,7 +69,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test circular_buffer_test.py`
|
||||
- Python 3.3+: `pytest circular_buffer_test.py`
|
||||
- Python 3.4+: `pytest circular_buffer_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest circular_buffer_test.py`
|
||||
|
||||
@@ -25,7 +25,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test clock_test.py`
|
||||
- Python 3.3+: `pytest clock_test.py`
|
||||
- Python 3.4+: `pytest clock_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest clock_test.py`
|
||||
|
||||
@@ -50,7 +50,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test collatz_conjecture_test.py`
|
||||
- Python 3.3+: `pytest collatz_conjecture_test.py`
|
||||
- Python 3.4+: `pytest collatz_conjecture_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest collatz_conjecture_test.py`
|
||||
|
||||
@@ -55,7 +55,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test complex_numbers_test.py`
|
||||
- Python 3.3+: `pytest complex_numbers_test.py`
|
||||
- Python 3.4+: `pytest complex_numbers_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest complex_numbers_test.py`
|
||||
|
||||
@@ -49,7 +49,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test connect_test.py`
|
||||
- Python 3.3+: `pytest connect_test.py`
|
||||
- Python 3.4+: `pytest connect_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest connect_test.py`
|
||||
|
||||
@@ -91,7 +91,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test crypto_square_test.py`
|
||||
- Python 3.3+: `pytest crypto_square_test.py`
|
||||
- Python 3.4+: `pytest crypto_square_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest crypto_square_test.py`
|
||||
|
||||
@@ -26,7 +26,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test custom_set_test.py`
|
||||
- Python 3.3+: `pytest custom_set_test.py`
|
||||
- Python 3.4+: `pytest custom_set_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest custom_set_test.py`
|
||||
|
||||
@@ -71,7 +71,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test diamond_test.py`
|
||||
- Python 3.3+: `pytest diamond_test.py`
|
||||
- Python 3.4+: `pytest diamond_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest diamond_test.py`
|
||||
|
||||
@@ -31,7 +31,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test difference_of_squares_test.py`
|
||||
- Python 3.3+: `pytest difference_of_squares_test.py`
|
||||
- Python 3.4+: `pytest difference_of_squares_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest difference_of_squares_test.py`
|
||||
|
||||
@@ -73,7 +73,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test diffie_hellman_test.py`
|
||||
- Python 3.3+: `pytest diffie_hellman_test.py`
|
||||
- Python 3.4+: `pytest diffie_hellman_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest diffie_hellman_test.py`
|
||||
|
||||
@@ -33,7 +33,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test dominoes_test.py`
|
||||
- Python 3.3+: `pytest dominoes_test.py`
|
||||
- Python 3.4+: `pytest dominoes_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest dominoes_test.py`
|
||||
|
||||
@@ -59,7 +59,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test dot_dsl_test.py`
|
||||
- Python 3.3+: `pytest dot_dsl_test.py`
|
||||
- Python 3.4+: `pytest dot_dsl_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest dot_dsl_test.py`
|
||||
|
||||
@@ -38,7 +38,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test error_handling_test.py`
|
||||
- Python 3.3+: `pytest error_handling_test.py`
|
||||
- Python 3.4+: `pytest error_handling_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest error_handling_test.py`
|
||||
|
||||
@@ -65,7 +65,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test etl_test.py`
|
||||
- Python 3.3+: `pytest etl_test.py`
|
||||
- Python 3.4+: `pytest etl_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest etl_test.py`
|
||||
|
||||
@@ -29,7 +29,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test flatten_array_test.py`
|
||||
- Python 3.3+: `pytest flatten_array_test.py`
|
||||
- Python 3.4+: `pytest flatten_array_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest flatten_array_test.py`
|
||||
|
||||
@@ -82,7 +82,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test food_chain_test.py`
|
||||
- Python 3.3+: `pytest food_chain_test.py`
|
||||
- Python 3.4+: `pytest food_chain_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest food_chain_test.py`
|
||||
|
||||
@@ -44,7 +44,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test forth_test.py`
|
||||
- Python 3.3+: `pytest forth_test.py`
|
||||
- Python 3.4+: `pytest forth_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest forth_test.py`
|
||||
|
||||
@@ -23,7 +23,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test gigasecond_test.py`
|
||||
- Python 3.3+: `pytest gigasecond_test.py`
|
||||
- Python 3.4+: `pytest gigasecond_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest gigasecond_test.py`
|
||||
|
||||
@@ -54,7 +54,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test go_counting_test.py`
|
||||
- Python 3.3+: `pytest go_counting_test.py`
|
||||
- Python 3.4+: `pytest go_counting_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest go_counting_test.py`
|
||||
|
||||
@@ -53,7 +53,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test grade_school_test.py`
|
||||
- Python 3.3+: `pytest grade_school_test.py`
|
||||
- Python 3.4+: `pytest grade_school_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest grade_school_test.py`
|
||||
|
||||
@@ -45,7 +45,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test grains_test.py`
|
||||
- Python 3.3+: `pytest grains_test.py`
|
||||
- Python 3.4+: `pytest grains_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest grains_test.py`
|
||||
|
||||
@@ -83,7 +83,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test grep_test.py`
|
||||
- Python 3.3+: `pytest grep_test.py`
|
||||
- Python 3.4+: `pytest grep_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest grep_test.py`
|
||||
|
||||
@@ -54,7 +54,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test hamming_test.py`
|
||||
- Python 3.3+: `pytest hamming_test.py`
|
||||
- Python 3.4+: `pytest hamming_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest hamming_test.py`
|
||||
|
||||
@@ -33,7 +33,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test hello_world_test.py`
|
||||
- Python 3.3+: `pytest hello_world_test.py`
|
||||
- Python 3.4+: `pytest hello_world_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest hello_world_test.py`
|
||||
|
||||
@@ -26,7 +26,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test hexadecimal_test.py`
|
||||
- Python 3.3+: `pytest hexadecimal_test.py`
|
||||
- Python 3.4+: `pytest hexadecimal_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest hexadecimal_test.py`
|
||||
|
||||
@@ -124,7 +124,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test house_test.py`
|
||||
- Python 3.3+: `pytest house_test.py`
|
||||
- Python 3.4+: `pytest house_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest house_test.py`
|
||||
|
||||
@@ -59,7 +59,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test isbn_verifier_test.py`
|
||||
- Python 3.3+: `pytest isbn_verifier_test.py`
|
||||
- Python 3.4+: `pytest isbn_verifier_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest isbn_verifier_test.py`
|
||||
|
||||
@@ -32,7 +32,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test isogram_test.py`
|
||||
- Python 3.3+: `pytest isogram_test.py`
|
||||
- Python 3.4+: `pytest isogram_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest isogram_test.py`
|
||||
|
||||
@@ -78,7 +78,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test kindergarten_garden_test.py`
|
||||
- Python 3.3+: `pytest kindergarten_garden_test.py`
|
||||
- Python 3.4+: `pytest kindergarten_garden_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest kindergarten_garden_test.py`
|
||||
|
||||
@@ -32,7 +32,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test largest_series_product_test.py`
|
||||
- Python 3.3+: `pytest largest_series_product_test.py`
|
||||
- Python 3.4+: `pytest largest_series_product_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest largest_series_product_test.py`
|
||||
|
||||
@@ -45,7 +45,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test leap_test.py`
|
||||
- Python 3.3+: `pytest leap_test.py`
|
||||
- Python 3.4+: `pytest leap_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest leap_test.py`
|
||||
|
||||
@@ -46,7 +46,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test linked_list_test.py`
|
||||
- Python 3.3+: `pytest linked_list_test.py`
|
||||
- Python 3.4+: `pytest linked_list_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest linked_list_test.py`
|
||||
|
||||
@@ -25,7 +25,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test list_ops_test.py`
|
||||
- Python 3.3+: `pytest list_ops_test.py`
|
||||
- Python 3.4+: `pytest list_ops_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest list_ops_test.py`
|
||||
|
||||
@@ -83,7 +83,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test luhn_test.py`
|
||||
- Python 3.3+: `pytest luhn_test.py`
|
||||
- Python 3.4+: `pytest luhn_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest luhn_test.py`
|
||||
|
||||
@@ -33,7 +33,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test markdown_test.py`
|
||||
- Python 3.3+: `pytest markdown_test.py`
|
||||
- Python 3.4+: `pytest markdown_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest markdown_test.py`
|
||||
|
||||
@@ -59,7 +59,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test matrix_test.py`
|
||||
- Python 3.3+: `pytest matrix_test.py`
|
||||
- Python 3.4+: `pytest matrix_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest matrix_test.py`
|
||||
|
||||
@@ -45,7 +45,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test meetup_test.py`
|
||||
- Python 3.3+: `pytest meetup_test.py`
|
||||
- Python 3.4+: `pytest meetup_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest meetup_test.py`
|
||||
|
||||
@@ -45,7 +45,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test minesweeper_test.py`
|
||||
- Python 3.3+: `pytest minesweeper_test.py`
|
||||
- Python 3.4+: `pytest minesweeper_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest minesweeper_test.py`
|
||||
|
||||
@@ -27,7 +27,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test nth_prime_test.py`
|
||||
- Python 3.3+: `pytest nth_prime_test.py`
|
||||
- Python 3.4+: `pytest nth_prime_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest nth_prime_test.py`
|
||||
|
||||
@@ -31,7 +31,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test nucleotide_count_test.py`
|
||||
- Python 3.3+: `pytest nucleotide_count_test.py`
|
||||
- Python 3.4+: `pytest nucleotide_count_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest nucleotide_count_test.py`
|
||||
|
||||
@@ -97,7 +97,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test ocr_numbers_test.py`
|
||||
- Python 3.3+: `pytest ocr_numbers_test.py`
|
||||
- Python 3.4+: `pytest ocr_numbers_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest ocr_numbers_test.py`
|
||||
|
||||
@@ -65,7 +65,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test octal_test.py`
|
||||
- Python 3.3+: `pytest octal_test.py`
|
||||
- Python 3.4+: `pytest octal_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest octal_test.py`
|
||||
|
||||
@@ -51,7 +51,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test palindrome_products_test.py`
|
||||
- Python 3.3+: `pytest palindrome_products_test.py`
|
||||
- Python 3.4+: `pytest palindrome_products_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest palindrome_products_test.py`
|
||||
|
||||
@@ -27,7 +27,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test pangram_test.py`
|
||||
- Python 3.3+: `pytest pangram_test.py`
|
||||
- Python 3.4+: `pytest pangram_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest pangram_test.py`
|
||||
|
||||
@@ -26,7 +26,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test parallel_letter_frequency_test.py`
|
||||
- Python 3.3+: `pytest parallel_letter_frequency_test.py`
|
||||
- Python 3.4+: `pytest parallel_letter_frequency_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest parallel_letter_frequency_test.py`
|
||||
|
||||
@@ -33,7 +33,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test pascals_triangle_test.py`
|
||||
- Python 3.3+: `pytest pascals_triangle_test.py`
|
||||
- Python 3.4+: `pytest pascals_triangle_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest pascals_triangle_test.py`
|
||||
|
||||
@@ -36,7 +36,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test perfect_numbers_test.py`
|
||||
- Python 3.3+: `pytest perfect_numbers_test.py`
|
||||
- Python 3.4+: `pytest perfect_numbers_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest perfect_numbers_test.py`
|
||||
|
||||
@@ -47,7 +47,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test phone_number_test.py`
|
||||
- Python 3.3+: `pytest phone_number_test.py`
|
||||
- Python 3.4+: `pytest phone_number_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest phone_number_test.py`
|
||||
|
||||
@@ -36,7 +36,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test pig_latin_test.py`
|
||||
- Python 3.3+: `pytest pig_latin_test.py`
|
||||
- Python 3.4+: `pytest pig_latin_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest pig_latin_test.py`
|
||||
|
||||
@@ -53,7 +53,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test point_mutations_test.py`
|
||||
- Python 3.3+: `pytest point_mutations_test.py`
|
||||
- Python 3.4+: `pytest point_mutations_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest point_mutations_test.py`
|
||||
|
||||
@@ -24,7 +24,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test poker_test.py`
|
||||
- Python 3.3+: `pytest poker_test.py`
|
||||
- Python 3.4+: `pytest poker_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest poker_test.py`
|
||||
|
||||
@@ -56,7 +56,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test pov_test.py`
|
||||
- Python 3.3+: `pytest pov_test.py`
|
||||
- Python 3.4+: `pytest pov_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest pov_test.py`
|
||||
|
||||
@@ -48,7 +48,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test prime_factors_test.py`
|
||||
- Python 3.3+: `pytest prime_factors_test.py`
|
||||
- Python 3.4+: `pytest prime_factors_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest prime_factors_test.py`
|
||||
|
||||
@@ -60,7 +60,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test protein_translation_test.py`
|
||||
- Python 3.3+: `pytest protein_translation_test.py`
|
||||
- Python 3.4+: `pytest protein_translation_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest protein_translation_test.py`
|
||||
|
||||
@@ -35,7 +35,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test proverb_test.py`
|
||||
- Python 3.3+: `pytest proverb_test.py`
|
||||
- Python 3.4+: `pytest proverb_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest proverb_test.py`
|
||||
|
||||
@@ -36,7 +36,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test pythagorean_triplet_test.py`
|
||||
- Python 3.3+: `pytest pythagorean_triplet_test.py`
|
||||
- Python 3.4+: `pytest pythagorean_triplet_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest pythagorean_triplet_test.py`
|
||||
|
||||
@@ -45,7 +45,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test queen_attack_test.py`
|
||||
- Python 3.3+: `pytest queen_attack_test.py`
|
||||
- Python 3.4+: `pytest queen_attack_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest queen_attack_test.py`
|
||||
|
||||
@@ -77,7 +77,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test rail_fence_cipher_test.py`
|
||||
- Python 3.3+: `pytest rail_fence_cipher_test.py`
|
||||
- Python 3.4+: `pytest rail_fence_cipher_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest rail_fence_cipher_test.py`
|
||||
|
||||
@@ -36,7 +36,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test raindrops_test.py`
|
||||
- Python 3.3+: `pytest raindrops_test.py`
|
||||
- Python 3.4+: `pytest raindrops_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest raindrops_test.py`
|
||||
|
||||
@@ -47,7 +47,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test rational_numbers_test.py`
|
||||
- Python 3.3+: `pytest rational_numbers_test.py`
|
||||
- Python 3.4+: `pytest rational_numbers_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest rational_numbers_test.py`
|
||||
|
||||
@@ -34,7 +34,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test react_test.py`
|
||||
- Python 3.3+: `pytest react_test.py`
|
||||
- Python 3.4+: `pytest react_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest react_test.py`
|
||||
|
||||
@@ -82,7 +82,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test rectangles_test.py`
|
||||
- Python 3.3+: `pytest rectangles_test.py`
|
||||
- Python 3.4+: `pytest rectangles_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest rectangles_test.py`
|
||||
|
||||
@@ -25,7 +25,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test reverse_string_test.py`
|
||||
- Python 3.3+: `pytest reverse_string_test.py`
|
||||
- Python 3.4+: `pytest reverse_string_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest reverse_string_test.py`
|
||||
|
||||
@@ -40,7 +40,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test rna_transcription_test.py`
|
||||
- Python 3.3+: `pytest rna_transcription_test.py`
|
||||
- Python 3.4+: `pytest rna_transcription_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest rna_transcription_test.py`
|
||||
|
||||
@@ -34,7 +34,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test robot_name_test.py`
|
||||
- Python 3.3+: `pytest robot_name_test.py`
|
||||
- Python 3.4+: `pytest robot_name_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest robot_name_test.py`
|
||||
|
||||
@@ -46,7 +46,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test robot_simulator_test.py`
|
||||
- Python 3.3+: `pytest robot_simulator_test.py`
|
||||
- Python 3.4+: `pytest robot_simulator_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest robot_simulator_test.py`
|
||||
|
||||
@@ -61,7 +61,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test roman_numerals_test.py`
|
||||
- Python 3.3+: `pytest roman_numerals_test.py`
|
||||
- Python 3.4+: `pytest roman_numerals_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest roman_numerals_test.py`
|
||||
|
||||
@@ -49,7 +49,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test rotational_cipher_test.py`
|
||||
- Python 3.3+: `pytest rotational_cipher_test.py`
|
||||
- Python 3.4+: `pytest rotational_cipher_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest rotational_cipher_test.py`
|
||||
|
||||
@@ -42,7 +42,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test run_length_encoding_test.py`
|
||||
- Python 3.3+: `pytest run_length_encoding_test.py`
|
||||
- Python 3.4+: `pytest run_length_encoding_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest run_length_encoding_test.py`
|
||||
|
||||
@@ -45,7 +45,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test saddle_points_test.py`
|
||||
- Python 3.3+: `pytest saddle_points_test.py`
|
||||
- Python 3.4+: `pytest saddle_points_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest saddle_points_test.py`
|
||||
|
||||
@@ -81,7 +81,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test say_test.py`
|
||||
- Python 3.3+: `pytest say_test.py`
|
||||
- Python 3.4+: `pytest say_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest say_test.py`
|
||||
|
||||
@@ -67,7 +67,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test scale_generator_test.py`
|
||||
- Python 3.3+: `pytest scale_generator_test.py`
|
||||
- Python 3.4+: `pytest scale_generator_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest scale_generator_test.py`
|
||||
|
||||
@@ -58,7 +58,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test scrabble_score_test.py`
|
||||
- Python 3.3+: `pytest scrabble_score_test.py`
|
||||
- Python 3.4+: `pytest scrabble_score_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest scrabble_score_test.py`
|
||||
|
||||
@@ -47,7 +47,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test secret_handshake_test.py`
|
||||
- Python 3.3+: `pytest secret_handshake_test.py`
|
||||
- Python 3.4+: `pytest secret_handshake_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest secret_handshake_test.py`
|
||||
|
||||
@@ -39,7 +39,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test series_test.py`
|
||||
- Python 3.3+: `pytest series_test.py`
|
||||
- Python 3.4+: `pytest series_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest series_test.py`
|
||||
|
||||
@@ -83,7 +83,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test sgf_parsing_test.py`
|
||||
- Python 3.3+: `pytest sgf_parsing_test.py`
|
||||
- Python 3.4+: `pytest sgf_parsing_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest sgf_parsing_test.py`
|
||||
|
||||
@@ -48,7 +48,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test sieve_test.py`
|
||||
- Python 3.3+: `pytest sieve_test.py`
|
||||
- Python 3.4+: `pytest sieve_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest sieve_test.py`
|
||||
|
||||
@@ -118,7 +118,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test simple_cipher_test.py`
|
||||
- Python 3.3+: `pytest simple_cipher_test.py`
|
||||
- Python 3.4+: `pytest simple_cipher_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest simple_cipher_test.py`
|
||||
|
||||
@@ -52,7 +52,7 @@ raise Exception("Meaningful message indicating the source of the error")
|
||||
To run the tests, run the appropriate command below ([why they are different](https://github.com/pytest-dev/pytest/issues/1629#issue-161422224)):
|
||||
|
||||
- Python 2.7: `py.test simple_linked_list_test.py`
|
||||
- Python 3.3+: `pytest simple_linked_list_test.py`
|
||||
- Python 3.4+: `pytest simple_linked_list_test.py`
|
||||
|
||||
Alternatively, you can tell Python to run the pytest module (allowing the same command to be used regardless of Python version):
|
||||
`python -m pytest simple_linked_list_test.py`
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user