(self)
| 189 | return int(stdout) |
| 190 | |
| 191 | def test_randomized_hash(self): |
| 192 | # two runs should return different hashes |
| 193 | run1 = self.get_hash(self.repr_, seed='random') |
| 194 | run2 = self.get_hash(self.repr_, seed='random') |
| 195 | self.assertNotEqual(run1, run2) |
| 196 | |
| 197 | class StringlikeHashRandomizationTests(HashRandomizationTests): |
| 198 | repr_ = None |
nothing calls this directly
no test coverage detected