~jfb-tempo-consulting/unifield-wm/sync-env-py3

« back to all changes in this revision

Viewing changes to unittest27/test/support.py

  • Committer: jf
  • Date: 2022-02-01 10:24:52 UTC
  • mfrom: (173.1.1 sync-env)
  • Revision ID: jfb@tempo-consulting.fr-20220201102452-rndr3uvmo030kqlf
[MERGE] US-9423: instance registration: do not validate an instance with no group on the sync server

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
                    self.fail("%r and %r do not hash equal" % (obj_1, obj_2))
13
13
            except KeyboardInterrupt:
14
14
                raise
15
 
            except Exception as e:
 
15
            except Exception, e:
16
16
                self.fail("Problem hashing %r and %r: %s" % (obj_1, obj_2, e))
17
17
 
18
18
        for obj_1, obj_2 in self.ne_pairs:
22
22
                              (obj_1, obj_2))
23
23
            except KeyboardInterrupt:
24
24
                raise
25
 
            except Exception as e:
 
25
            except Exception, e:
26
26
                self.fail("Problem hashing %s and %s: %s" % (obj_1, obj_2, e))
27
27
 
28
28