Home
last modified time | relevance | path

Searched refs:_diffThreshold (Results 1 - 2 of 2) sorted by relevance

/third_party/python/Lib/unittest/test/
H A Dtest_case.py911 self.assertEqual(self._diffThreshold, 2**16)
916 old_threshold = self._diffThreshold
917 self._diffThreshold = 2**5
918 self.addCleanup(lambda: setattr(self, '_diffThreshold', old_threshold))
947 old_threshold = self._diffThreshold
948 self._diffThreshold = 0
949 self.addCleanup(lambda: setattr(self, '_diffThreshold', old_threshold))
/third_party/python/Lib/unittest/
H A Dcase.py383 # If a string is longer than _diffThreshold, use normal comparison instead
385 _diffThreshold = 2**16 variable in TestCase
1242 if (len(first) > self._diffThreshold or
1243 len(second) > self._diffThreshold):

Completed in 5 milliseconds