View | Details | Raw Unified | Return to bug 191795 | Differences between
and this patch

Collapse All | Expand All

(-)b/devel/py-nose/Makefile (-2 / +8 lines)
Lines 18-24 Link Here
18
USE_PYDISTUTILS=	yes
18
USE_PYDISTUTILS=	yes
19
PYDISTUTILS_AUTOPLIST=	yes
19
PYDISTUTILS_AUTOPLIST=	yes
20
20
21
.include <bsd.port.pre.mk>
22
21
regression-test: build
23
regression-test: build
22
	@cd ${WRKSRC} && ${PYTHON_CMD} selftest.py
24
# Extra tests for python 3, added in by setup3lib.py
25
.if ${PYTHON_REL} >= 300
26
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} build_tests
27
.endif
28
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
23
29
24
.include <bsd.port.mk>
30
.include <bsd.port.post.mk>
(-)b/devel/py-nose/files/patch-unit_tests__test_config_defaults.rst (+38 lines)
Added Link Here
1
--- unit_tests/test_config_defaults.rst.orig	2011-12-14 15:01:38.000000000 +0100
2
+++ unit_tests/test_config_defaults.rst	2014-07-10 06:45:35.000000000 +0200
3
@@ -91,7 +91,7 @@
4
 
5
     >>> options, args = parse([], StringIO("spam"))
6
     error: Error reading config file '<???>': File contains no section headers.
7
-    file: <???>, line: 1
8
+    file: '<???>', line: 1
9
     'spam'
10
 
11
 (filename)
12
@@ -99,7 +99,7 @@
13
     >>> options, args = parse([], os.path.join(support, "invalid.cfg"))
14
     ... # doctest: +ELLIPSIS
15
     error: Error reading config file '...invalid.cfg': File contains no section headers.
16
-    file: ...invalid.cfg, line: 1
17
+    file: ...invalid.cfg', line: 1
18
     'spam\n'
19
 
20
 (filenames, length == 1)
21
@@ -107,7 +107,7 @@
22
     >>> options, args = parse([], [os.path.join(support, "invalid.cfg")])
23
     ... # doctest: +ELLIPSIS
24
     error: Error reading config file '...invalid.cfg': File contains no section headers.
25
-    file: ...invalid.cfg, line: 1
26
+    file: ...invalid.cfg', line: 1
27
     'spam\n'
28
 
29
 (filenames, length > 1)
30
@@ -120,7 +120,7 @@
31
     ...                            os.path.join(support, "b.cfg")])
32
     ... # doctest: +ELLIPSIS
33
     error: Error reading config file '...invalid.cfg': File contains no section headers.
34
-    file: ...invalid.cfg, line: 1
35
+    file: ...invalid.cfg', line: 1
36
     'spam\n'
37
 
38
 

Return to bug 191795