<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>On 16/03/2020 00:57, Amar Takhar wrote:<br>
</p>
<blockquote type="cite"
cite="mid:20200315235717.GB21916@darkbeer.org">
<pre class="moz-quote-pre" wrap="">On 2020-03-16 09:20 +1100, Chris Johns wrote:
</pre>
<blockquote type="cite" style="color: #000000;">
<pre class="moz-quote-pre" wrap="">Is pytest installed by default?
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">No. It's a separate package the Python has 'unittest' which is shipped by
default. For our usage pyttest is more flexible and will create concise code
that is easy to contribute to. The biggest reason is that it's more suited to
our use.</pre>
</blockquote>
<p>From the website pytest requires Python 3.5+ and PyPy 3. This is
not a problem for me in general. We still would like to be
compatible to Python 2.7, how can we run the tests in such an
environment with pytest?</p>
<p>What is the relationship to the standard Python unittest module?
Do you want to write the tests with unittest and run them with
pytest?<br>
</p>
</body>
</html>