# HG changeset patch # User Pierre-Yves David # Date 1729912195 -7200 # Node ID 50415066cb667c40391c50b5f94a2cdcd4446a80 # Parent 05bb54a3ef26458147e45363a21ea5559b258b72 pycompat: drop test involving assigning "foo" to `sys.hexversion` Starting with python 3.13, `sys.hexversion` refuse to be assigned non-hex value like "foo". I don't think I can blame it. It is time to drop that part of the tests. diff -r 05bb54a3ef26 -r 50415066cb66 tests/test-parseindex2.py --- a/tests/test-parseindex2.py Sat Oct 26 05:11:58 2024 +0200 +++ b/tests/test-parseindex2.py Sat Oct 26 05:09:55 2024 +0200 @@ -221,7 +221,6 @@ # Test different major-minor versions. self.assertversionfail(3, makehex(major + 1, minor, micro)) self.assertversionfail(4, makehex(major, minor + 1, micro)) - self.assertversionfail(5, "'foo'") def testbadargs(self): # Check that parse_index2() raises TypeError on bad arguments.