From 02894af40a93c28073ab84a14f5f396204cbb823 2022-12-23 18:44:09 From: Matthias Bussonnier Date: 2022-12-23 18:44:09 Subject: [PATCH] skip test on 3.12 --- diff --git a/IPython/extensions/tests/test_autoreload.py b/IPython/extensions/tests/test_autoreload.py index 88637fb..2c3c9db 100644 --- a/IPython/extensions/tests/test_autoreload.py +++ b/IPython/extensions/tests/test_autoreload.py @@ -367,7 +367,8 @@ class TestAutoreload(Fixture): self.shell.run_code("assert func2() == 'changed'") self.shell.run_code("t = Test(); assert t.new_func() == 'changed'") self.shell.run_code("assert number == 1") - self.shell.run_code("assert TestEnum.B.value == 'added'") + if sys.version_info < (3, 12): + self.shell.run_code("assert TestEnum.B.value == 'added'") # ----------- TEST IMPORT FROM MODULE --------------------------