Skip to content

Commit

Permalink
treewide: s/python2/python3/g
Browse files Browse the repository at this point in the history
  • Loading branch information
multun authored and grahamc committed Feb 28, 2020
1 parent 4ef8dd9 commit 32943d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion coverage-tests.py
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python2 #!/usr/bin/env python3
import nose import nose
import sys import sys
import os import os
Expand Down
6 changes: 3 additions & 3 deletions doc/manual/hacking.xml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ so that those dependencies can be found:
<screen> <screen>
$ nix-shell release.nix -A build.x86_64-linux --exclude tarball $ nix-shell release.nix -A build.x86_64-linux --exclude tarball
$ echo $PYTHONPATH $ echo $PYTHONPATH
/nix/store/yzj6p5f7iyh247pwxrg97y3klm6d0cni-python-2.7.3/lib/python2.7/site-packages:<replaceable>...</replaceable> /nix/store/5dbidajmgrvskv7kj6bwrkza8szxkgar-python3-3.7.5/lib/python3.7/site-packages:<replaceable>...</replaceable>
</screen> </screen>
You can then run NixOps in your source tree as follows: You can then run NixOps in your source tree as follows:
<screen> <screen>
Expand All @@ -36,7 +36,7 @@ $ nixops
<para>To run the tests, do <para>To run the tests, do


<screen> <screen>
$ python2 tests.py $ python3 tests.py
</screen> </screen>


Note that some of the tests involve the creation of EC2 resources and Note that some of the tests involve the creation of EC2 resources and
Expand All @@ -46,7 +46,7 @@ thus cost money. You must set the environment variable
looked up in <filename>~/.ec2-keys</filename> or in looked up in <filename>~/.ec2-keys</filename> or in
<filename>~/.aws/credentials</filename>, as described in <xref <filename>~/.aws/credentials</filename>, as described in <xref
linkend="sec-deploying-to-ec2"/>.) To run a specific test, run linkend="sec-deploying-to-ec2"/>.) To run a specific test, run
<literal>python2 tests.py <literal>python3 tests.py
<replaceable>test-name</replaceable></literal>, e.g. <replaceable>test-name</replaceable></literal>, e.g.


To filter on which backends you want to run functional tests against, you can To filter on which backends you want to run functional tests against, you can
Expand Down

0 comments on commit 32943d2

Please sign in to comment.