File: pr1383.patch

package info (click to toggle)
nibabel 5.3.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 69,240 kB
  • sloc: python: 39,826; makefile: 276; ansic: 202; sh: 99
file content (23 lines) | stat: -rw-r--r-- 743 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From 069942c59c69f4d29a2815399d9c987ec1f7d923 Mon Sep 17 00:00:00 2001
From: Chris Markiewicz <markiewicz@stanford.edu>
Date: Fri, 25 Oct 2024 11:33:07 -0400
Subject: [PATCH] TEST: Replace dict literal with set()

Closes gh-1382
---
 nibabel/tests/test_api_validators.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nibabel/tests/test_api_validators.py b/nibabel/tests/test_api_validators.py
index 2388089f2..d559fd632 100644
--- a/nibabel/tests/test_api_validators.py
+++ b/nibabel/tests/test_api_validators.py
@@ -99,7 +99,7 @@ class TestRunAllTests(ValidateAPI):
     We check this in the module teardown function
     """
 
-    run_tests = {}
+    run_tests = set()
 
     def obj_params(self):
         yield 1, 2