mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 23:00:18 +00:00
Merge pull request #863 from Prodesire/master
fix make error on ci.rst and tests.rst
This commit is contained in:
@@ -4,7 +4,7 @@ Continuous Integration
|
|||||||
.. image:: https://farm5.staticflickr.com/4173/33907150594_9abba7ad0a_k_d.jpg
|
.. image:: https://farm5.staticflickr.com/4173/33907150594_9abba7ad0a_k_d.jpg
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
For advice on writing your tests, see :doc:`writing/tests`.
|
For advice on writing your tests, see :doc:`/writing/tests`.
|
||||||
|
|
||||||
Why?
|
Why?
|
||||||
----
|
----
|
||||||
|
|||||||
@@ -211,7 +211,7 @@ minimal example of each bug (distinguished exception type and location):
|
|||||||
mean = sum(xs) / len(xs)
|
mean = sum(xs) / len(xs)
|
||||||
assert min(xs) <= mean(xs) <= max(xs)
|
assert min(xs) <= mean(xs) <= max(xs)
|
||||||
|
|
||||||
.. code-block::
|
.. code-block:: none
|
||||||
|
|
||||||
Falsifying example: test_mean(
|
Falsifying example: test_mean(
|
||||||
xs=[1.7976321109618856e+308, 6.102390043022755e+303]
|
xs=[1.7976321109618856e+308, 6.102390043022755e+303]
|
||||||
|
|||||||
Reference in New Issue
Block a user