(self)
| 398 | self.fail() |
| 399 | |
| 400 | def test_diff_non_ascii(self): |
| 401 | if sys.platform == 'win32': |
| 402 | # Skip this test on Windows until we fix Unicode support |
| 403 | return |
| 404 | contents = '’◕‿◕’©Ä☺’ಠ_ಠ’' |
| 405 | utils.write_file(self.TRACKED_FP, contents=contents) |
| 406 | out1 = utils.stdout(gl.diff()) |
| 407 | if '+' + contents not in out1: |
| 408 | self.fail('out is ' + out1) |
| 409 | out2 = utils.stdout(gl.diff(self.TRACKED_FP)) |
| 410 | if '+' + contents not in out2: |
| 411 | self.fail('out is ' + out2) |
| 412 | self.assertEqual(out1, out2) |
| 413 | |
| 414 | |
| 415 | class TestOp(TestEndToEnd): |
nothing calls this directly
no outgoing calls
no test coverage detected