We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent effae87 commit bbc3f7dCopy full SHA for bbc3f7d
tests/test_flaky.py
@@ -0,0 +1,8 @@
1
+import random
2
+from unittest import TestCase
3
+
4
5
+class TestFlaky(TestCase):
6
+ def test_sometimes_fails(self):
7
+ # Flaky by design: passes 90% of the time, fails 10%
8
+ self.assertGreater(random.random(), 0.1)
0 commit comments