[Jython-checkins] jython: Add skip for test_setdefault_atomic in tests of ConcurrentHashMap.

jeff.allen jython-checkins at python.org
Thu Mar 28 04:57:03 EDT 2019


https://hg.python.org/jython/rev/10d69614720a
changeset:   8232:10d69614720a
user:        Jeff Allen <ja.py at farowl.co.uk>
date:        Thu Mar 28 08:48:25 2019 +0000
summary:
  Add skip for test_setdefault_atomic in tests of ConcurrentHashMap.

This test, previously skipped by accident, fails on Java 7. Issue #2711 refers.

files:
  Lib/test/test_dict_jy.py |  4 +++-
  1 files changed, 3 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_dict_jy.py b/Lib/test/test_dict_jy.py
--- a/Lib/test/test_dict_jy.py
+++ b/Lib/test/test_dict_jy.py
@@ -381,10 +381,12 @@
     @unittest.skip("FIXME: see bjo #2746")
     def test_repr_value_None(self): pass # defining here only so we can skip it
 
-
 class JavaConcurrentHashMapDictTest(JavaDictTest):
     _class = ConcurrentHashMap
 
+    @unittest.skip("FIXME: bjo #2711 affects ConcurrentHashMap in all Java versions.")
+    def test_setdefault_atomic(self): pass # defining here only so we can skip it
+
     @unittest.skip("FIXME: see bjo #2746")
     def test_has_key(self): pass # defining here only so we can skip it
 

-- 
Repository URL: https://hg.python.org/jython


More information about the Jython-checkins mailing list