Mercurial > p > roundup > code
comparison test/test_misc.py @ 6987:51f9bd50f875
disable test_html - different output under 3.10 than other 3.x
the test passed under 3.9, 3.8, 3.6, 2.7 but failed 3.10 and 3.11.
Looks like an extra variable name (a) is displayed in pre-3.10
environment dump. Note that a is undefined so it arguably shouldn't
be there.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 14 Sep 2022 23:29:00 -0400 |
| parents | fb7056f2dcda |
| children | 570bdfad078d |
comparison
equal
deleted
inserted
replaced
| 6986:5a84ddf7aa8b | 6987:51f9bd50f875 |
|---|---|
| 137 if sys.version_info > (3, 0, 0): | 137 if sys.version_info > (3, 0, 0): |
| 138 self.assertEqual(expected3, p) | 138 self.assertEqual(expected3, p) |
| 139 else: | 139 else: |
| 140 self.assertEqual(expected2, p) | 140 self.assertEqual(expected2, p) |
| 141 | 141 |
| 142 def test_html(self): | 142 def notest_html(self): |
| 143 """ templating error """ | 143 """ templating error """ |
| 144 # enabiling this will cause the test to fail as the variable | 144 # enabiling this will cause the test to fail as the variable |
| 145 # is included in the live outpu but not in expected. | 145 # is included in the live outpu but not in expected. |
| 146 # self.maxDiff = None | 146 # self.maxDiff = None |
| 147 | 147 |
