File: 0003-Pytest-3.4-compat.patch

package info (click to toggle)
pyorbital 1.10.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 668 kB
  • sloc: python: 3,365; makefile: 89; javascript: 6
file content (21 lines) | stat: -rw-r--r-- 746 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Antonio Valentino <antonio.valentino@tiscali.it>
Date: Sun, 7 Sep 2025 08:45:54 +0000
Subject: Pytest 3.4 compat

Forwarded: https://github.com/pytroll/pyorbital/pull/200
---
 pyorbital/tests/test_tlefile.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pyorbital/tests/test_tlefile.py b/pyorbital/tests/test_tlefile.py
index 6e50df5..915156e 100644
--- a/pyorbital/tests/test_tlefile.py
+++ b/pyorbital/tests/test_tlefile.py
@@ -721,6 +721,7 @@ class TestSQLiteTLE(unittest.TestCase):
         """Clean temporary files."""
         with suppress(PermissionError, NotADirectoryError):
             self.temp_dir.cleanup()
+        self.db.close()
 
     def test_init(self):
         """Test that the init did what it should have."""