File: Remove-unused-DATADIR-from-test_query.py.patch

package info (click to toggle)
astroquery 0.4.11%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 26,528 kB
  • sloc: python: 53,595; xml: 36,604; makefile: 140; ansic: 69
file content (24 lines) | stat: -rw-r--r-- 828 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
22
23
24
From: Ole Streicher <olebole@debian.org>
Date: Mon, 22 Sep 2025 10:22:27 +0200
Subject: Remove unused DATADIR from test_query.py

This directory cannot be created when the package is installed
---
 astroquery/tests/test_query.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/astroquery/tests/test_query.py b/astroquery/tests/test_query.py
index 4268d41..7fe7644 100644
--- a/astroquery/tests/test_query.py
+++ b/astroquery/tests/test_query.py
@@ -9,10 +9,6 @@ from astroquery.query import BaseQuery, BaseVOQuery
 from astroquery.utils.mocks import MockResponse
 from itertools import product
 
-# Test data directory
-DATA_DIR = Path(__file__).parent / 'data'
-DATA_DIR.mkdir(exist_ok=True)
-
 # Test data files
 TEST_FILE_CONTENT = b'This is a test file with some content.'
 TEST_FILE_PARTIAL = b'This is a test file'