# File lib/deep_test/deadlock_detector.rb, line 3
3:     def self.due_to_deadlock?(error)
4:       error && !error.message.to_s.match(/Deadlock found when trying to get lock/).nil?
5:     end