diff --git a/changelog/2121.bugfix b/changelog/2121.bugfix
new file mode 100644
index 000000000..15fd7706c
--- /dev/null
+++ b/changelog/2121.bugfix
@@ -0,0 +1 @@
+Respect ``python_files`` in assertion rewriting.