guido
ec734026cc
[svn r37738] Fixed problem probably caused by removing some comment or something...
...
--HG--
branch : trunk
2007-02-01 15:55:23 +01:00
hpk
16fae5ed73
[svn r37736] cosmetic docstring change
...
--HG--
branch : trunk
2007-02-01 15:35:07 +01:00
guido
646d4f93e1
[svn r37733] Removed two rather useless methods that just delegated to methods on the
...
underlying object, in favour of calling the underlying object's methods
directly (py.io.OutErrCapture.writeorg*).
--HG--
branch : trunk
2007-02-01 15:13:59 +01:00
guido
9f491f2058
[svn r37729] Added some code to py.io.FDCapture and py.io.OutErrCapture to allow writing
...
to the original (patched) file descriptor. Also made that the capturing object
is passed to apigen.py's build() function (from rsession.py), which uses the
new methods to print progress information.
--HG--
branch : trunk
2007-02-01 14:56:31 +01:00
fijal
3f31ed5742
[svn r37723] Add a test
...
--HG--
branch : trunk
2007-02-01 12:59:47 +01:00
fijal
ee72091783
[svn r37721] Fix. !Tests needed!
...
--HG--
branch : trunk
2007-02-01 12:50:29 +01:00
fijal
f4b4f68b40
[svn r37720] Kill dead import
...
--HG--
branch : trunk
2007-02-01 12:28:45 +01:00
hpk
661d984aec
[svn r37703] adding references to path and code documentation
...
--HG--
branch : trunk
2007-01-31 23:56:18 +01:00
hpk
3e91580231
[svn r37701] note on removal of compat.TestCase
...
--HG--
branch : trunk
2007-01-31 23:44:03 +01:00
hpk
0945e7668a
[svn r37700] refer to experimental gateway path code
...
for substantiating future directions.
--HG--
branch : trunk
2007-01-31 23:43:32 +01:00
hpk
ba2dcf16bd
[svn r37699] removing py._dist export (only accessed from setup.py
...
and py/bin/_makepyrelease.py)
--HG--
branch : trunk
2007-01-31 23:23:24 +01:00
hpk
dbb88cdb75
[svn r37698] waiting even a bit longer for loop-on-failing
...
--HG--
branch : trunk
2007-01-31 23:20:33 +01:00
hpk
f915de1992
[svn r37696] removing py.test.compat.TestCase - it's small
...
code but nobody uses it i think and there is
no documentation.
--HG--
branch : trunk
2007-01-31 22:55:30 +01:00
hpk
7970591813
[svn r37693] Some considerations regarding the experimental
...
Gateway/Remote Path implementation code.
Also making it "py.__." importable but
not advertising it for 0.9 at all.
It's an interesting feature for 1.0 :)
--HG--
branch : trunk
2007-01-31 21:34:29 +01:00
guido
58eace43f9
[svn r37674] Added document 'code.txt' that describes py.code, added docstrings to py.code
...
public items.
--HG--
branch : trunk
2007-01-31 16:29:18 +01:00
hpk
65f51efa55
[svn r37664] some streamlining, additions and "de-marketing" :)
...
and adding some XXX
--HG--
branch : trunk
2007-01-31 12:49:25 +01:00
hpk
9fe8e7ca65
[svn r37661] fixing this script (IMO it was broken if you provided arguments)
...
--HG--
branch : trunk
2007-01-31 12:27:25 +01:00
hpk
bd71dff595
[svn r37647] make the example independent from the installed python binaries
...
--HG--
branch : trunk
2007-01-31 00:46:20 +01:00
arigo
89a4750535
[svn r37646] Wording, and missing attribute in the greenlet documentation.
...
--HG--
branch : trunk
2007-01-31 00:29:45 +01:00
hpk
dcafd4cd60
[svn r37645] adding an example for execnet (passes doctest)
...
--HG--
branch : trunk
2007-01-31 00:23:59 +01:00
cfbolz
a05708848a
[svn r37644] typo
...
--HG--
branch : trunk
2007-01-31 00:20:50 +01:00
hpk
97346c8a5a
[svn r37643] stroke the historical notes, and streamlined
...
various parts of execnet documentation,
added some api references.
--HG--
branch : trunk
2007-01-31 00:13:49 +01:00
arigo
6aaca64290
[svn r37642] issue40 resolved
...
Thanks ghazel. I fixed this by directly capturing ts_current in a local
variable instead of reloading it. I also reviewed the code a bit and
found another place where ts_current could be used out of date.
--HG--
branch : trunk
2007-01-31 00:07:48 +01:00
hpk
e721d85278
[svn r37641] removing py.path.extpy after all
...
--HG--
branch : trunk
2007-01-30 23:22:15 +01:00
guido
e7c684eb37
[svn r37640] Added first bits of a document about py.path.
...
--HG--
branch : trunk
2007-01-30 23:01:04 +01:00
guido
d3c2f5c7b1
[svn r37639] Not sure why this was here... :|
...
--HG--
branch : trunk
2007-01-30 23:00:33 +01:00
guido
acf54574c4
[svn r37638] Re-enabled the tests on win32
...
--HG--
branch : trunk
2007-01-30 21:51:57 +01:00
guido
307a727a7e
[svn r37637] Fixed Windows path problems for apigen; test_apigen_functional.py now works (couldn't test with the py lib itself, though, as it wants to build greenlets and i don't have a suitable c compiler installed).
...
--HG--
branch : trunk
2007-01-30 21:45:18 +01:00
fijal
c432765556
[svn r37631] Kill unnecessarry cache
...
--HG--
branch : trunk
2007-01-30 18:55:08 +01:00
fijal
3630e7fcd3
[svn r37624] Slightly hackish way to put all tracing calls as low as possible. This
...
should kill unnecessary frames. Right now tracing is done only for
py.test.Function objects, I don't know what to do with sth else, let's
leave it alone.
--HG--
branch : trunk
2007-01-30 17:59:32 +01:00
fijal
f65d6e9d35
[svn r37623] Get rid of last frame if possible (the frame containing start_tracing should
...
not be there, unless this is the last frame)
--HG--
branch : trunk
2007-01-30 17:58:11 +01:00
fijal
d80bbf4a68
[svn r37622] Don't use previous versions in future examples
...
--HG--
branch : trunk
2007-01-30 17:56:58 +01:00
fijal
ff7e89a145
[svn r37621] all tests works for me
...
--HG--
branch : trunk
2007-01-30 17:55:04 +01:00
fijal
1974e5ecf6
[svn r37620] ensure 2.5 compatibility
...
--HG--
branch : trunk
2007-01-30 17:54:14 +01:00
guido
e905f71e72
[svn r37616] All code snippets are colored now, also properly fixed hiding of _* names
...
in the navigation.
--HG--
branch : trunk
2007-01-30 17:29:33 +01:00
hpk
d435873e03
[svn r37615] skip this test on windows, it should work but doesn't
...
and it's not too important (apigen does not fully
run on win32 because of LSession not working there)
--HG--
branch : trunk
2007-01-30 17:28:43 +01:00
guido
85854514b7
[svn r37610] Stack trace code snippets are now syntax colored.
...
--HG--
branch : trunk
2007-01-30 16:44:30 +01:00
guido
e625497c5f
[svn r37609] Oops, forgot to check this in: update to deal with change in py.xml.html.
...
--HG--
branch : trunk
2007-01-30 16:43:00 +01:00
guido
1ac5c69420
[svn r37608] Added some code to make sure 'inline' elements aren't indented (gotta love
...
'ignorable' whitespace).
--HG--
branch : trunk
2007-01-30 16:42:19 +01:00
guido
2f8325e277
[svn r37602] Fixed support for files ending on a comment rather than a newline, fixed some
...
unicode() call so it's not done on objects that are already unicode.
--HG--
branch : trunk
2007-01-30 15:46:57 +01:00
hpk
0b985318fa
[svn r37599] fixing a windows-error: i believe that most strings
...
passed into htmlgen.deindent() actually have
a normalized '\n' line-ending already (e.g. if they
come from python docstrings). So the caller
now needs to specify otherwise.
--HG--
branch : trunk
2007-01-30 15:08:47 +01:00
hpk
e96e4f61c7
[svn r37598] removing broken tkinter session support ahead of the
...
0.9 release (might be re-introduced later)
--HG--
branch : trunk
2007-01-30 15:02:28 +01:00
hpk
1f0835df15
[svn r37596] bah, waiting longer also in py-trunk
...
--HG--
branch : trunk
2007-01-30 14:44:52 +01:00
guido
45868fe506
[svn r37594] Fixed unicode issues in apigen/htmlgen.py and apigen/source, moved some methods
...
out of HTMLDocument and added support for finding out the encoding of a Python
file in order to accomplish that (both in source/html.py), fixed some minor
issues (items with a name starting with _ are now hidden from nav, fixed
indentation issue in nav) in htmlgen.py.
--HG--
branch : trunk
2007-01-30 14:24:27 +01:00
guido
c2e1510f86
[svn r37582] Updated mock-up function return value.
...
--HG--
branch : trunk
2007-01-30 11:45:46 +01:00
guido
bef3ad84ce
[svn r37579] Made that the package name can be set when using from_dict() to fill a
...
DocStorage.
--HG--
branch : trunk
2007-01-30 11:34:08 +01:00
fijal
c1e6116de5
[svn r37555] update
...
--HG--
branch : trunk
2007-01-29 18:14:27 +01:00
fijal
7759bb404f
[svn r37554] add XXX
...
--HG--
branch : trunk
2007-01-29 18:12:17 +01:00
fijal
8a4e21ecd5
[svn r37553] Skip if boxed
...
--HG--
branch : trunk
2007-01-29 18:11:13 +01:00
guido
fe3a71994a
[svn r37545] Moved get_star_import_tree out of the DocStorage class, created 'pkg_to_dict'
...
function in docstorage.py and using that from apigen.py (to later simplify
py.test integration, and to improve testability). Simplified 'deindent()' a
bit, made the wrap_page use the filenames from the stylesheeturl and the
scripturls instead of having them hard-coded, some minor HTML/CSS changes.
--HG--
branch : trunk
2007-01-29 17:11:15 +01:00
guido
06cbe63616
[svn r37540] Nicer formatting of docstrings (de-indented and such), fixed problem getting
...
to frame source (IOError that popped up when building the py lib's api docs)
in description.py.
--HG--
branch : trunk
2007-01-29 15:20:31 +01:00
fijal
02abf0ee5d
[svn r37535] update on that
...
--HG--
branch : trunk
2007-01-29 14:10:51 +01:00
guido
853de83311
[svn r37534] Some minor visual modifications for stack traces, fixed check for
...
py.code.Source object filenames.
--HG--
branch : trunk
2007-01-29 14:09:33 +01:00
fijal
acfbbcb7ff
[svn r37533] Make distribution working with custom conftests at exact levels. This
...
is very explicit - dist_rsyncroots works only in that conftest directory.
--HG--
branch : trunk
2007-01-29 14:06:19 +01:00
guido
e921ad8af9
[svn r37531] Removing try/except to make debugging a little bit easier.
...
--HG--
branch : trunk
2007-01-29 13:53:52 +01:00
hpk
ad127323e3
[svn r37502] unify dist_* options and give dist_rsync_roots more precision:
...
you now specify relative paths (relative to the conftest.py
where a dist_rsync_root setting resides) or absolute paths.
--HG--
branch : trunk
2007-01-28 22:54:12 +01:00
hpk
216919d612
[svn r37501] rename for clarity
...
--HG--
branch : trunk
2007-01-28 21:37:30 +01:00
hpk
20222ec57b
[svn r37500] postponing generalizing of host specifications for 0.9
...
--HG--
branch : trunk
2007-01-28 21:25:48 +01:00
hpk
ae11e91791
[svn r37499] concreter error message
...
--HG--
branch : trunk
2007-01-28 21:25:11 +01:00
hpk
12d1da1194
[svn r37498] bah, my local config but i want to have it committed to
...
get rid of the "M" state, ehem.
--HG--
branch : trunk
2007-01-28 21:09:02 +01:00
hpk
df3448c6f9
[svn r37494] the start of factoring out common and unified
...
host handling within py.test
--HG--
branch : trunk
2007-01-28 18:53:43 +01:00
cfbolz
cfc0ca32f3
[svn r37481] new attempt :-(
...
--HG--
branch : trunk
2007-01-28 18:16:43 +01:00
hpk
e991bf21bd
[svn r37478] refactored/streamlined tests slightly
...
i think svn testing needs some more refinements
(not before 0.9)
--HG--
branch : trunk
2007-01-28 17:56:42 +01:00
cfbolz
1e44038941
[svn r37477] use relative paths to try to make the py-lib both work in paths that have
...
quotable characters _and_ with some versions of latex that don't like quotes in
\input. let's see whether it works...
--HG--
branch : trunk
2007-01-28 17:34:52 +01:00
hpk
1d3519bfe0
[svn r37465] * all Sessions now have fixoptions()
...
* added some tests for implied and conflicting options
* make all Session objects inherit from the base session
* small cleanups with respect to test setup
* separate tests a bit
--HG--
branch : trunk
2007-01-28 14:25:03 +01:00
hpk
15c1ebe506
[svn r37463] test_get_initpkg_star_items() fails for me
...
when run as part of the whole py lib tests,
succeeds when ran as a single test.
Pruning sys.modules fixes this (but i am
not sure why the tracer depends on seeing
the import happen)
--HG--
branch : trunk
2007-01-28 12:02:19 +01:00
hpk
de9fd5ecef
[svn r37462] allow the remote side to run in verbose mode
...
--HG--
branch : trunk
2007-01-28 12:00:17 +01:00
hpk
b5d79a847b
[svn r37461] skip these tests on windows (some reliances on unix-paths
...
and i don't think apigen can run on windows anyway at the moment)
--HG--
branch : trunk
2007-01-28 11:42:13 +01:00
hpk
a938384607
[svn r37460] these tests rely on exact formatting, so skipping them again
...
(fail for me on pypy2)
--HG--
branch : trunk
2007-01-28 11:32:01 +01:00
hpk
6838180187
[svn r37459] fix socketgateway test to run on both win32 and linux
...
--HG--
branch : trunk
2007-01-28 11:14:22 +01:00
hpk
e64d602cd2
[svn r37458] try to only rsync the py lib, not the dirpath() of it
...
--HG--
branch : trunk
2007-01-28 10:07:22 +01:00
hpk
9e7886c59b
[svn r37457] explicitely shutdown the gateway for the remote session
...
after each run.
--HG--
branch : trunk
2007-01-28 09:49:28 +01:00
hpk
dad2da4583
[svn r37456] some small adjustments/cleanups regarding intiialisation
...
--HG--
branch : trunk
2007-01-28 09:48:59 +01:00
hpk
c736976568
[svn r37455] added a sample conftest.py to run windows tests remotely,
...
note the module docstring.
--HG--
branch : trunk
2007-01-28 09:46:34 +01:00
guido
37803778c9
[svn r37453] Changed test a bit to avoid issues on non-UNIX platforms.
...
--HG--
branch : trunk
2007-01-27 23:50:49 +01:00
hpk
b677355804
[svn r37450] skip auto-import checks of directive.py because it requires docutils
...
--HG--
branch : trunk
2007-01-27 21:15:21 +01:00
hpk
06f68d9fb7
[svn r37449] fix failures in case of docutils not being installed
...
(related to importing 'py.__.rest.directive')
--HG--
branch : trunk
2007-01-27 21:11:26 +01:00
hpk
181f6cde23
[svn r37447] config._reparse() from current dir can drag in conftest.py
...
files (happened to me because i had two py lib checkouts)
--HG--
branch : trunk
2007-01-27 20:24:41 +01:00
hpk
8f540fe7c6
[svn r37446] don't try this on windows
...
--HG--
branch : trunk
2007-01-27 20:22:23 +01:00
hpk
780e715395
[svn r37445] use suprocess module to start socketserver subprocess
...
--HG--
branch : trunk
2007-01-27 20:13:17 +01:00
hpk
6d403d4573
[svn r37444] a try at a wrapping loop_socketserver.py
...
that restarts the actual socketserver.py
--HG--
branch : trunk
2007-01-27 19:57:05 +01:00
hpk
3d70646122
[svn r37443] slightly re-organizing RemoteTerminalSession for
...
easier subclassing.
--HG--
branch : trunk
2007-01-27 19:41:39 +01:00
fijal
a1171a8726
[svn r37442] update
...
--HG--
branch : trunk
2007-01-27 18:33:41 +01:00
guido
00812c46f9
[svn r37439] Sorry, cfbolz, seems the print to stderr breaks some test... :|
...
--HG--
branch : trunk
2007-01-27 16:40:25 +01:00
guido
fd40b43cdf
[svn r37438] Fiddle-fixed --rest, although it works now some cleanups would be nice...
...
Cleaned up the tests a bit and re-enabled some (sucky tests are better than
no tests at all, I guess... :| ), re-enabled a debug print after complaints
from cfbolz ;) but this time it prints to stderr (to avoid ReST pollution).
--HG--
branch : trunk
2007-01-27 16:37:43 +01:00
guido
7ebd7ec888
[svn r37437] Made stuff a bit more robust by converting non-strings to strings in some
...
places.
--HG--
branch : trunk
2007-01-27 16:36:20 +01:00
guido
241ef0ff4a
[svn r37435] Removing debug print (ended up in the ReST).
...
--HG--
branch : trunk
2007-01-27 15:29:17 +01:00
guido
58079397a2
[svn r37434] Fixed bug in add() that made that the to-be-added item didn't get added (and
...
yes, I've added a test now ): ), made some error message a bit clearer.
--HG--
branch : trunk
2007-01-27 15:11:52 +01:00
fijal
f1b4e14f09
[svn r37433] Add a helper which returns value + path of a dir where value was found
...
--HG--
branch : trunk
2007-01-27 15:01:45 +01:00
guido
50a0a04bd2
[svn r37432] Some updates on stuff I've worked on, fixed ReST.
...
--HG--
branch : trunk
2007-01-27 14:33:40 +01:00
guido
39f357b272
[svn r37431] Fixed problem that made that the wrong package was imported when ran after
...
test_apigen_example.
--HG--
branch : trunk
2007-01-27 14:26:57 +01:00
guido
c96eb10efd
[svn r37430] Fixed test, was depending on dict order and values had changed.
...
--HG--
branch : trunk
2007-01-27 14:20:56 +01:00
fijal
23681b8059
[svn r37429] Ugh, revert.
...
--HG--
branch : trunk
2007-01-27 14:12:23 +01:00
hpk
c32d3f8673
[svn r37428] added a note about dist_rsyncroots semantics
...
--HG--
branch : trunk
2007-01-27 14:09:09 +01:00
fijal
6c428bafbf
[svn r37427] Kill the last occurencies of pkgdir
...
--HG--
branch : trunk
2007-01-27 14:01:58 +01:00
guido
9539e49743
[svn r37425] Fixed Code.__ne__() (wrong function sig, missing 'other' argument).
...
--HG--
branch : trunk
2007-01-27 13:29:39 +01:00
fijal
d929f633a7
[svn r37411] Fix a bit rest and test_rest. Note that actually these tests are
...
testing anything from time to time, need closer look.
--HG--
branch : trunk
2007-01-26 23:35:20 +01:00
fijal
e3dfe80856
[svn r37409] Fix the test
...
--HG--
branch : trunk
2007-01-26 22:56:50 +01:00
fijal
f098c2d353
[svn r37408] Kill two unnecessary tests now.
...
--HG--
branch : trunk
2007-01-26 22:54:52 +01:00
fijal
ac977c865d
[svn r37407] Unskip two tests.
...
--HG--
branch : trunk
2007-01-26 22:46:11 +01:00