| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -523,6 +523,10 @@ def test_errors_invalid(self): | |||
| 523 | 523 | # "During handling of the above exception, another exception occurred") | |
| 524 | 524 | self.assertIsNone(e.exception.__context__) | |
| 525 | 525 | ||
| 526 | + def test_degree(self): | ||
| 527 | + self.assertEqual(self.unidecode('\u2109'), self.unidecode('\u00b0F')) | ||
| 528 | + self.assertEqual(self.unidecode('\u2103'), self.unidecode('\u00b0C')) | ||
| 529 | + | ||
| 526 | 530 | class TestUnidecode(BaseTestUnidecode, unittest.TestCase): | |
| 527 | 531 | unidecode = staticmethod(unidecode) | |
| 528 | 532 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,13 +2,13 @@ | |||
| 2 | 2 | ' a/c ', # 0x00 | |
| 3 | 3 | ' a/s ', # 0x01 | |
| 4 | 4 | 'C', # 0x02 | |
| 5 | - '', # 0x03 | ||
| 5 | + 'degC', # 0x03 | ||
| 6 | 6 | '', # 0x04 | |
| 7 | 7 | ' c/o ', # 0x05 | |
| 8 | 8 | ' c/u ', # 0x06 | |
| 9 | 9 | '', # 0x07 | |
| 10 | 10 | '', # 0x08 | |
| 11 | - '', # 0x09 | ||
| 11 | + 'degF', # 0x09 | ||
| 12 | 12 | 'g', # 0x0a | |
| 13 | 13 | 'H', # 0x0b | |
| 14 | 14 | 'H', # 0x0c | |
| Back | FazBrowse Home | New Git URL |
0 commit comments