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 11#! /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
33echo " Starting doctests."
44python postgres/__init__.py
55python postgres/cursors.py
66python 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 " "
715echo " Done with doctests."
You can’t perform that action at this time.
0 commit comments