Mercurial > hgsubversion
annotate tests/__init__.py @ 621:3e18cdcb6e00
test_util: add assertMultiLineEqual() method.
This method is based on code from the CPython py3k branch; it prints
out a diff on failure.
| author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
|---|---|
| date | Tue, 22 Jun 2010 21:58:24 +0200 |
| parents | 537de0300510 |
| children |
| rev | line source |
|---|---|
|
347
537de0300510
Remove the 'outgoing' wrapper, and use the Mercurial infrastructure instead.
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
317
diff
changeset
|
1 import imp, os, sys |
|
537de0300510
Remove the 'outgoing' wrapper, and use the Mercurial infrastructure instead.
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
317
diff
changeset
|
2 |
|
537de0300510
Remove the 'outgoing' wrapper, and use the Mercurial infrastructure instead.
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
317
diff
changeset
|
3 sys.path.insert(0, os.path.dirname(os.path.dirname(__file__))) |
