File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
- DATABASE_URL=postgres://jrandom@localhost/test py.test tests.py -v
2
+ # DATABASE_URL=postgres://jrandom@localhost/test py.test tests.py -v
3
3
echo " Starting doctests."
4
4
python postgres/__init__.py
5
5
python postgres/cursors.py
6
6
python postgres/orm.py
7
+ echo " "
8
+ python --version 2>&1 | grep ' Python 3' > /dev/null && \
9
+ echo " \x1b[31mYou may see errors\x1b[0m due to dict ordering not being stable."
10
+ python --version 2>&1 | grep ' Python 2' > /dev/null && \
11
+ echo " \x1b[31mYou're using Python 2.\x1b[0m Expect errors comparing '' and u''." && \
12
+ echo " You may also see errors due to dict ordering not being stable."
13
+ echo " We don't fix these because that would make docs uglier."
14
+ echo " "
7
15
echo " Done with doctests."
You can’t perform that action at this time.
0 commit comments