Skip to content

Commit ad8ed5a

Browse files
committed
Merge branch 'master' into allow-monkey
2 parents c2a9421 + 7289f08 commit ad8ed5a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

runtests.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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 ""

0 commit comments

Comments
 (0)