File: tests.patch

package info (click to toggle)
dbf 0.99.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 972 kB
  • sloc: python: 12,664; makefile: 8
file content (12 lines) | stat: -rw-r--r-- 342 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
Subject: trying to replace 0001-fix-tests-so-that-they-don-t-require-a-main.patch with something easier to manager

--- a/dbf/test.py
+++ b/dbf/test.py
@@ -9,6 +9,7 @@
 import warnings
 from unittest import skipIf, skipUnless, TestCase as unittest_TestCase
 
+tempdir = tempfile.mkdtemp()
 py_ver = sys.version_info[:2]
 module = globals()