| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,5 +4,7 @@ if [ -z "${PYVER}" ]; then | |||
| 4 | 4 | PYVER=py37 | |
| 5 | 5 | fi | |
| 6 | 6 | ||
| 7 | + # remember to use "-s" if you inject pdb.set_trace() as this disables nosetests capture of streams | ||
| 8 | + | ||
| 7 | 9 | tox -e ${PYVER} --notest | |
| 8 | 10 | PYTHONPATH=/src/.tox/${PYVER}/lib/python*/site-packages /src/.tox/${PYVER}/bin/nosetests --pdb $* | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -638,7 +638,7 @@ def test_multiple_urls(self, rw_repo): | |||
| 638 | 638 | ||
| 639 | 639 | def test_fetch_error(self): | |
| 640 | 640 | rem = self.rorepo.remote('origin') | |
| 641 | - with self.assertRaisesRegex(GitCommandError, "Couldn't find remote ref __BAD_REF__"): | ||
| 641 | + with self.assertRaisesRegex(GitCommandError, "[Cc]ouldn't find remote ref __BAD_REF__"): | ||
| 642 | 642 | rem.fetch('__BAD_REF__') | |
| 643 | 643 | ||
| 644 | 644 | @with_rw_repo('0.1.6', bare=False) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments