Dave Abrahams
c880e7d69d
Correct testing bugs:
...
either changing assert(...) or BOOST_ASSERT(...) to BOOST_TEST
(in my code only)
or adding "return boost::report_errors();" where it was clearly
missing (and a pure bug, in anyone's code).
or changing BOOST_TEST to BOOST_CHECK where the integer library
was clearly using Boost.Test and not returning report_errors().
[SVN r37063]
2007-02-25 15:28:02 +00:00
Dave Abrahams
08a6f35ec2
Correct testing bugs:
...
either changing assert(...) or BOOST_ASSERT(...) to BOOST_TEST
(in my code only)
or adding "return boost::report_errors();" where it was clearly
missing (and a pure bug, in anyone's code).
[SVN r37057]
2007-02-24 22:40:59 +00:00
Dave Abrahams
0910710ac4
Correct class/function mismatches for MSVC and bring across
...
documentation tweaks from HEAD.
[SVN r36355]
2006-12-13 15:08:26 +00:00
Ralf W. Grosse-Kunstleve
d67b040683
fixes to support pickling of enums (by Shashank Bapat)
...
[SVN r36256]
2006-12-03 20:43:48 +00:00
Rene Rivera
10b85d67e7
Remove obsolete Boost.Build v1 files.
...
[SVN r35880]
2006-11-06 17:10:46 +00:00
Dave Abrahams
3a53c1dec0
Add fixes somehow missed for darwin
...
[SVN r35612]
2006-10-14 19:10:30 +00:00
Ralf W. Grosse-Kunstleve
9f4d39d9fe
correct trivial, obvious accident: stray line removed
...
[SVN r35599]
2006-10-13 22:06:17 +00:00
nobody
da8e309957
This commit was manufactured by cvs2svn to create branch 'RC_1_34_0'.
...
[SVN r35598]
2006-10-13 21:34:27 +00:00
Dave Abrahams
31c19644ed
make numpy tests portable to Darwin with older docutils
...
[SVN r35597]
2006-10-13 21:34:26 +00:00
Dave Abrahams
2bd9141d4a
make numpy tests portable to Darwin with older docutils
...
[SVN r35597]
2006-10-13 21:34:26 +00:00
Dave Abrahams
600d444136
Fix some problems with testing on old docutils installations
...
[SVN r35594]
2006-10-13 19:35:28 +00:00
Dave Abrahams
c3bda6a903
Fix some problems with testing on old docutils installations
...
[SVN r35594]
2006-10-13 19:35:28 +00:00
Dave Abrahams
c3bd0fcbad
Make object comparison operators return object instead of bool, to
...
accomodate strange beasts like numarray arrays that return arrays that
can't be used as truth values from their comparison ops.
Fix numpy test for portability with old doctest (again!)
[SVN r35572]
2006-10-12 09:07:07 +00:00
Dave Abrahams
1755dad7e6
merged from trunk
...
[SVN r35569]
2006-10-12 06:42:20 +00:00
Dave Abrahams
991a7c198a
Workaround vc6 bugs
...
[SVN r35568]
2006-10-12 06:41:55 +00:00
Dave Abrahams
3b392c99be
Adjust tests to account for numarray behavior differences
...
[SVN r35539]
2006-10-10 22:44:09 +00:00
Dave Abrahams
b714f6cc23
Adjust tests to account for numarray behavior differences
...
[SVN r35539]
2006-10-10 22:44:09 +00:00
Dave Abrahams
24ba93607b
Try for backward compatibility with older versions of doctest
...
[SVN r35535]
2006-10-10 18:12:43 +00:00
Dave Abrahams
479a6ba4fc
Try for backward compatibility with older versions of doctest
...
[SVN r35535]
2006-10-10 18:12:43 +00:00
Dave Abrahams
49d4aac8ec
Fix lots of bugs in the numeric interface and tests.
...
Tests:
* Coerce a result to bool to deal with Python's new Bool type
* Better reporting of mismatches in expected and received results
* Remove bogus nullary y.astype() call
* Fix all uses of trace and diagonal so they don't cause errors
* Use appropriate typecodes
* Use doctest detailed API to run just the relevant tests
* Factor out error handling from macro
API:
* Added get_module_name() function to get current numeric module
* new_(x) now returns an array instead of object
* Fixed the signatures of the factory() family of functions
* Updated docs accordingly.
[SVN r35528]
2006-10-09 04:05:25 +00:00
Dave Abrahams
d78836b828
Fix lots of bugs in the numeric interface and tests.
...
Tests:
* Coerce a result to bool to deal with Python's new Bool type
* Better reporting of mismatches in expected and received results
* Remove bogus nullary y.astype() call
* Fix all uses of trace and diagonal so they don't cause errors
* Use appropriate typecodes
* Use doctest detailed API to run just the relevant tests
* Factor out error handling from macro
API:
* Added get_module_name() function to get current numeric module
* new_(x) now returns an array instead of object
* Fixed the signatures of the factory() family of functions
* Updated docs accordingly.
[SVN r35528]
2006-10-09 04:05:25 +00:00
Dave Abrahams
8553c109c7
merged from HEAD
...
[SVN r35429]
2006-09-29 22:27:57 +00:00
Dave Abrahams
5ab00bc9c8
Fix long-standing misnaming of "factory" method as "array"
...
[SVN r35428]
2006-09-29 22:24:12 +00:00
Dave Abrahams
d42054f3a0
Cleans up license/copyright warnings
...
[SVN r35409]
2006-09-29 02:08:32 +00:00
nobody
72b06e70ee
This commit was manufactured by cvs2svn to create branch 'RC_1_34_0'.
...
[SVN r35366]
2006-09-28 14:41:02 +00:00
Dave Abrahams
94500ae36d
Tests and fixes for a bad interaction between wrapper<> and operators
...
support. "self" arguments weren't getting unwrapped properly.
[SVN r35365]
2006-09-28 14:41:01 +00:00
Gottfried Ganßauge
b8b7768eb7
Test for cross module support of opaque
...
[SVN r35256]
2006-09-21 16:47:49 +00:00
Dave Abrahams
e00a88ff49
Fix inspection issues
...
[SVN r35239]
2006-09-21 02:40:19 +00:00
Dave Abrahams
e70bbe4791
Fix license/copyright.
...
Also port some "glaringly obvious" bugfixes from HEAD. Hope it
doesn't cause problems.
[SVN r35237]
2006-09-20 22:49:18 +00:00
Stefan Seefeld
e527bc860f
Fix copyright issues.
...
[SVN r35236]
2006-09-20 22:30:39 +00:00
Stefan Seefeld
7ff0f62729
Fix copyright issues.
...
[SVN r35236]
2006-09-20 22:30:39 +00:00
Dave Abrahams
921e306b9a
Fix license/copyright
...
[SVN r35234]
2006-09-20 21:59:03 +00:00
Dave Abrahams
95f0b39c90
merged from HEAD
...
[SVN r35185]
2006-09-18 22:22:31 +00:00
Dave Abrahams
bed1d26904
Return an int, not a string, on success from
...
check_numeric_array_rich_slice, since that's what the tests expect.
[SVN r35184]
2006-09-18 22:21:50 +00:00
nobody
23057688f9
This commit was manufactured by cvs2svn to create branch 'RC_1_34_0'.
...
[SVN r35170]
2006-09-18 19:56:20 +00:00
Dave Abrahams
029618f719
merged from HEAD
...
[SVN r35165]
2006-09-18 18:25:57 +00:00
Dave Abrahams
41a342f026
vc6/7 workaround
...
[SVN r35164]
2006-09-18 18:25:12 +00:00
Dave Abrahams
38f7a4e9b6
merge from HEAD
...
[SVN r35141]
2006-09-17 02:42:51 +00:00
Dave Abrahams
0806e89964
More informative error messages
...
Better autoconfiguration
[SVN r35140]
2006-09-17 02:41:20 +00:00
Ralf W. Grosse-Kunstleve
eea7697175
if __name__ == '__main__'
...
[SVN r35114]
2006-09-14 21:57:56 +00:00
Ralf W. Grosse-Kunstleve
777ce7b561
magic coding: iso-latin1 comment added to avoid Python SyntaxError
...
[SVN r35113]
2006-09-14 21:53:00 +00:00
Gottfried Ganßauge
864ece5539
cross module compatibility test for opaque
...
[SVN r35111]
2006-09-14 19:06:33 +00:00
Gottfried Ganßauge
2610eb9acb
Type object for opaque initialized with PyType_Clear.
...
opaque is registered only if not another module has already registered
a conversion for that pointer type.
Doc update.
[SVN r35104]
2006-09-14 05:59:29 +00:00
Dave Abrahams
924eeccd53
merged from trunk
...
[SVN r35080]
2006-09-13 00:02:56 +00:00
Dave Abrahams
05070faf12
Attempt to capture better debugging info in output
...
[SVN r35079]
2006-09-12 23:58:40 +00:00
Dave Abrahams
4a63cf4843
Move definition of BOOST_PYTHON_SUPPRESS_REGISTRY_INITIALIZATION back
...
where it belongs.
[SVN r35076]
2006-09-12 22:37:09 +00:00
Dave Abrahams
ad8069314d
Move definition of BOOST_PYTHON_SUPPRESS_REGISTRY_INITIALIZATION back
...
where it belongs.
[SVN r35076]
2006-09-12 22:37:09 +00:00
Dave Abrahams
5a14319753
SunPro workarounds
...
[SVN r35067]
2006-09-11 10:38:14 +00:00
Dave Abrahams
3c1ae689a7
merged from trunk
...
[SVN r34943]
2006-08-24 19:04:23 +00:00
Dave Abrahams
d3418d494c
Restort BOOST_PYTHON_STATIC_LIB. We don't want to create exported symbols.
...
[SVN r34942]
2006-08-24 19:03:35 +00:00