./python -Wall -m test test_enum
0:00:00 load avg: 1.01 Run tests sequentially
0:00:00 load avg: 1.01 [1/1] test_enum
/home/karthikeyan/stuff/python/cpython/Lib/test/test_enum.py:2967: DeprecationWarning: in 3.12 __contains__ will no longer raise TypeError, but will return True or
False depending on whether the value is a member or the value of a member
self.assertFalse('BLACK' in Color)
/home/karthikeyan/stuff/python/cpython/Lib/test/test_enum.py:374: DeprecationWarning: in 3.12 __contains__ will no longer raise TypeError, but will return True or
False depending on whether the value is a member or the value of a member
self.assertTrue(self.source_values[0] in MainEnum)
/home/karthikeyan/stuff/python/cpython/Lib/test/test_enum.py:374: DeprecationWarning: in 3.12 __contains__ will no longer raise TypeError, but will return True or
False depending on whether the value is a member or the value of a member
self.assertTrue(self.source_values[0] in MainEnum)
/home/karthikeyan/stuff/python/cpython/Lib/test/test_enum.py:374: DeprecationWarning: in 3.12 __contains__ will no longer raise TypeError, but will return True or
False depending on whether the value is a member or the value of a member
self.assertTrue(self.source_values[0] in MainEnum)
/home/karthikeyan/stuff/python/cpython/Lib/test/test_enum.py:374: DeprecationWarning: in 3.12 __contains__ will no longer raise TypeError, but will return True or
False depending on whether the value is a member or the value of a member
self.assertTrue(self.source_values[0] in MainEnum)
/home/karthikeyan/stuff/python/cpython/Lib/test/test_enum.py:374: DeprecationWarning: in 3.12 __contains__ will no longer raise TypeError, but will return True or
False depending on whether the value is a member or the value of a member
self.assertTrue(self.source_values[0] in MainEnum)
/home/karthikeyan/stuff/python/cpython/Lib/test/test_enum.py:374: DeprecationWarning: in 3.12 __contains__ will no longer raise TypeError, but will return True or
False depending on whether the value is a member or the value of a member
self.assertTrue(self.source_values[0] in MainEnum)
/home/karthikeyan/stuff/python/cpython/Lib/test/test_enum.py:374: DeprecationWarning: in 3.12 __contains__ will no longer raise TypeError, but will return True or
False depending on whether the value is a member or the value of a member
self.assertTrue(self.source_values[0] in MainEnum)
/home/karthikeyan/stuff/python/cpython/Lib/test/test_enum.py:374: DeprecationWarning: in 3.12 __contains__ will no longer raise TypeError, but will return True or
False depending on whether the value is a member or the value of a member
self.assertTrue(self.source_values[0] in MainEnum)
/home/karthikeyan/stuff/python/cpython/Lib/test/test_enum.py:374: DeprecationWarning: in 3.12 __contains__ will no longer raise TypeError, but will return True or
False depending on whether the value is a member or the value of a member
self.assertTrue(self.source_values[0] in MainEnum)
/home/karthikeyan/stuff/python/cpython/Lib/test/test_enum.py:374: DeprecationWarning: in 3.12 __contains__ will no longer raise TypeError, but will return True or
False depending on whether the value is a member or the value of a member
self.assertTrue(self.source_values[0] in MainEnum)
/home/karthikeyan/stuff/python/cpython/Lib/test/test_enum.py:374: DeprecationWarning: in 3.12 __contains__ will no longer raise TypeError, but will return True or
False depending on whether the value is a member or the value of a member
self.assertTrue(self.source_values[0] in MainEnum)
/home/karthikeyan/stuff/python/cpython/Lib/test/test_enum.py:374: DeprecationWarning: in 3.12 __contains__ will no longer raise TypeError, but will return True or
False depending on whether the value is a member or the value of a member
self.assertTrue(self.source_values[0] in MainEnum)
== Tests result: SUCCESS ==
1 test OK.
Total duration: 556 ms
Tests result: SUCCESS
Bug report
DeprecationWarning in test_enum due to changes in #25670 with tests being now ran on Python 3.12
Your environment