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 51fa862 commit 0b6ff9cCopy full SHA for 0b6ff9c
test/correctness/gen.py
@@ -183,9 +183,9 @@ def random_id_value():
183
def random_value():
184
r = global_prng.random()
185
while True:
186
- # if (r < 0.1) and generator_options.test_nulls:
187
- # val = None
188
- if (r < 0.2):
+ if (r < 0.1) and generator_options.test_nulls:
+ val = None
+ elif (r < 0.2):
189
val = random_float()
190
elif (r < 0.4):
191
val = random_string(global_prng.randint(1, 8))
0 commit comments