From db9983f8214283ba3346af7986d6d807787ed434 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Thu, 11 May 2023 15:03:30 -0400
Subject: [PATCH] make the linter happy

---
 nixos/lib/testing.nix | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/nixos/lib/testing.nix b/nixos/lib/testing.nix
index d89717a0..6ed4b733 100644
--- a/nixos/lib/testing.nix
+++ b/nixos/lib/testing.nix
@@ -14,7 +14,8 @@
     ''
     # The driver runs pyflakes on this script before letting it
     # run... Convince pyflakes that there is a `test` name.
-    test = None
+    def test():
+        pass
     with open("${testpath}") as testfile:
         exec(testfile.read(), globals())
     # For simple types, JSON is compatible with Python syntax!
-- 
GitLab