Skip to content

Commit 97a32d6

Browse files
committed
Syntax highlighting in README
1 parent e3a8001 commit 97a32d6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Python nose2 unittesting example
22
This is an example package setup for having unittests in a separate folder from the actual package.
33

4-
Run the unittests from the top folder with `PYTHONPATH=. nose2` if you haven't installed this package in your pythonpath anywhere (through virtualenv or side wide).
4+
Run the unittests from the top folder with:
5+
```bash
6+
PYTHONPATH=. nose2
7+
```
8+
if you haven't installed this package in your pythonpath anywhere (through virtualenv or side wide).
59

610
Note now I modify the PYTHONPATH environment variable to tell nose2 where to find the package. I also use relative imports inside my package to make sure all modules can be found.

0 commit comments

Comments
 (0)