Show More
@@ -1278,8 +1278,11 b' class TestResult(unittest._TextTestResul' | |||||
1278 | if self._options.nodiff: |
|
1278 | if self._options.nodiff: | |
1279 | pass |
|
1279 | pass | |
1280 | elif self._options.view: |
|
1280 | elif self._options.view: | |
1281 | os.system("%s %s %s" % |
|
1281 | v = self._options.view | |
1282 | (self._options.view, test.refpath, test.errpath)) |
|
1282 | if sys.version_info[0] == 3: | |
|
1283 | v = v.encode('utf-8') | |||
|
1284 | os.system(b"%s %s %s" % | |||
|
1285 | (v, test.refpath, test.errpath)) | |||
1283 | else: |
|
1286 | else: | |
1284 | servefail, lines = getdiff(expected, got, |
|
1287 | servefail, lines = getdiff(expected, got, | |
1285 | test.refpath, test.errpath) |
|
1288 | test.refpath, test.errpath) |
General Comments 0
You need to be logged in to leave comments.
Login now