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
2
2
3
3
# Run both pytests and doctests, but only vary the return code on the result of
4
4
# the pytests. The doctests can fail for spurious reasons, and we chose not to
@@ -16,9 +16,9 @@ function run_doctests() {
16
16
python postgres/orm.py
17
17
echo " "
18
18
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."
20
20
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''." && \
22
22
echo " You may also see errors due to dict ordering not being stable."
23
23
echo " We don't fix these because that would make docs uglier."
24
24
echo " "
You can’t perform that action at this time.
0 commit comments