File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- #! /bin/sh
1+ #! /usr/ bin/env bash
22
33# Run both pytests and doctests, but only vary the return code on the result of
44# the pytests. The doctests can fail for spurious reasons, and we chose not to
@@ -16,9 +16,9 @@ function run_doctests() {
1616 python postgres/orm.py
1717 echo " "
1818 python --version 2>&1 | grep ' Python 3' > /dev/null && \
19- echo " \x1b[31mYou may see errors\x1b[0m due to dict ordering not being stable."
19+ echo -e " \x1b[31mYou may see errors\x1b[0m due to dict ordering not being stable."
2020 python --version 2>&1 | grep ' Python 2' > /dev/null && \
21- echo " \x1b[31mYou're using Python 2.\x1b[0m Expect errors comparing '' and u''." && \
21+ echo -e " \x1b[31mYou're using Python 2.\x1b[0m Expect errors comparing '' and u''." && \
2222 echo " You may also see errors due to dict ordering not being stable."
2323 echo " We don't fix these because that would make docs uglier."
2424 echo " "
You can’t perform that action at this time.
0 commit comments