commit df9268c26f2a98e0891afc15aa497d062c53a56a
Author: Thomas A Caswell <tcaswell@bnl.gov>
Date:   Thu Nov 8 13:20:50 2018 -0500

    TST/API: do not remap the exceptions for the get_num_objs
    
    HDF5 group does not consider the error codes to be public API (see
    https://forum.hdfgroup.org/t/hdf5-error-number-changes-in-1-10-3/5013/2
    ) so we can not reasonably maintain type-stability on the exceptions
    that h5py raises.

diff --git a/h5py/_errors.pyx b/h5py/_errors.pyx
index 23849f4..d3831b6 100644
--- a/h5py/_errors.pyx
+++ b/h5py/_errors.pyx
@@ -74,10 +74,8 @@ _exact_table = {
     (H5E_ARGS, H5E_BADTYPE):        ValueError, # Invalid location in file
     (H5E_REFERENCE, H5E_CANTINIT):  ValueError, # Dereferencing invalid ref
 
-    # needed for 1.10.3 to maintain compatibility with 1.10.{0,1,2}
+    # needed for 1.10.3+ to maintain compatibility with 1.10.{0,1,2}
 
-    # due to changes to H5Gdeprec.c:H5Gget_num_objs
-    (H5E_SYM, H5E_BADTYPE):         ValueError, # Invalid location in file
     # due to changes to H5F.c:H5Fstart_swmr_write
     (H5E_FILE, H5E_CANTCONVERT):    ValueError, # Invalid file format
   }
diff --git a/h5py/tests/old/test_group.py b/h5py/tests/old/test_group.py
index 9a1b048..848b730 100644
--- a/h5py/tests/old/test_group.py
+++ b/h5py/tests/old/test_group.py
@@ -295,11 +295,6 @@ class TestLen(BaseMapping):
         self.f.create_group('e')
         self.assertEqual(len(self.f), len(self.groups)+1)
 
-    def test_exc(self):
-        """ len() on closed group gives ValueError """
-        self.f.close()
-        with self.assertRaises(ValueError):
-            len(self.f)
 
 class TestContains(BaseGroup):
 
