1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-19 04:21:17 +00:00
Marc Bonnici 3efff81a5c utils/exec_control: Fix issue with once_per_instance decorator
Previously the `once_per_instance` used the output of `__repr__` to
identify the class of where the decorated method was called from. For
classes that override this method to produce the same output for
different instances of the same class this caused different instances to
be mistakenly treated as one. Now use the hash of the containing class
instead of the string representation and update the tests to catch this
error.
2018-05-22 17:18:40 +01:00
..
2017-04-27 17:36:44 +01:00
2017-04-27 17:36:44 +01:00
2017-04-27 17:36:44 +01:00
2017-04-27 17:36:44 +01:00
2017-04-27 17:36:44 +01:00
2017-04-27 17:36:44 +01:00