From 3905173cb32922b580bad184e724586f359c8c7e Mon Sep 17 00:00:00 2001
From: Nikita Sobolev <mail@sobolevn.me>
Date: Sun, 23 Jan 2022 23:34:29 +0300
Subject: [PATCH] Use `magic_trailing_comma` and `preview` for `FileMode` in
 `fuzz` (#2802)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
---
 fuzz.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fuzz.py b/fuzz.py
index a9ca8ef..09a86a2 100644
--- a/fuzz.py
+++ b/fuzz.py
@@ -32,7 +32,9 @@ from blib2to3.pgen2.tokenize import TokenError
         black.FileMode,
         line_length=st.just(88) | st.integers(0, 200),
         string_normalization=st.booleans(),
+        preview=st.booleans(),
         is_pyi=st.booleans(),
+        magic_trailing_comma=st.booleans(),
     ),
 )
 def test_idempotent_any_syntatically_valid_python(
-- 
2.39.5