- 30 Mar, 2016 6 kayıt (commit)
-
-
Victor Stinner yazdı
Pass all regrtest options, not only --testdir.
-
Victor Stinner yazdı
Pass also --testdir option.
-
Victor Stinner yazdı
test_forever() stores its state into the builtins module since the test module is reloaded at each run. Remove also warning to detect leaked tests of a previous run.
-
Victor Stinner yazdı
add "test." prefix to test module names. regrtest also prepends testdir to sys.path.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Use the default timeout of 30 seconds to avoid blocking forever.
-
- 29 Mar, 2016 11 kayıt (commit)
-
-
Victor Stinner yazdı
Issue #26641: doctest.DocFileTest and doctest.testfile() now support packages (module splitted into multiple directories) for the package parameter.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
* Fix test_os.BytesWalkTests on Windows * Mimick better the reference os.DirEntry on Windows * _DummyDirEntry now caches os.stat() result * _DummyDirEntry constructor now tries to get os.stat() * Fix os._DummyDirEntry.is_symlink(), don't follow symbolic links: use os.stat(path, follow_symlinks=False).
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Issue #25911: Fix os._DummyDirEntry.is_symlink(), don't follow symbolic links: use os.stat(path, follow_symlinks=False).
-
Victor Stinner yazdı
Thanks Arfrever for the report :)
-
Andrew Svetlov yazdı
-
Andrew Svetlov yazdı
-
- 28 Mar, 2016 3 kayıt (commit)
-
-
Martin Panter yazdı
-
Martin Panter yazdı
-
Martin Panter yazdı
-
- 27 Mar, 2016 14 kayıt (commit)
-
-
Berker Peksag yazdı
Patch by Oren Milman.
-
Berker Peksag yazdı
_Call is a subclass of tuple (changeset 3603bae63c13 only works for classes) so we need to implement __ne__ ourselves. Patch by Andrew Plummer.
-
Berker Peksag yazdı
_Call is a subclass of tuple (changeset 3603bae63c13 only works for classes) so we need to implement __ne__ ourselves. Patch by Andrew Plummer.
-
Berker Peksag yazdı
If you pass -1, the callable can take any number of arguments. Added tests to verify the behavior. Initial patch by Cédric Krier.
-
Berker Peksag yazdı
If you pass -1, the callable can take any number of arguments. Added tests to verify the behavior. Initial patch by Cédric Krier.
-
Berker Peksag yazdı
The behaviour of the close method is tested by ClosedCurTests in Lib/sqlite3/test/dbapi.py. This is basically a backport of https://github.com/ghaering/pysqlite/issues/73.
-
Berker Peksag yazdı
The behaviour of the close method is tested by ClosedCurTests in Lib/sqlite3/test/dbapi.py. This is basically a backport of https://github.com/ghaering/pysqlite/issues/73.
-
Victor Stinner yazdı
-
Berker Peksag yazdı
-
Berker Peksag yazdı
-
Martin Panter yazdı
-
Raymond Hettinger yazdı
-
Martin Panter yazdı
-
Martin Panter yazdı
Move many tests from NetworkedTests and NetworkedBIOTests to a new Simple- BackgroundTests class, using the existing ThreadedEchoServer and SIGNED_ CERTFILE infrastructure. For tests that cause the server to crash by rejecting its certificate, separate them into independent test methods. Added custom root certificate to capath with the following commands: cp Lib/test/{pycacert.pem,capath/} # Edit copy to remove part before certificate c_rehash -v Lib/test/capath/ c_rehash -v -old Lib/test/capath/ # Note the generated file names cp Lib/test/capath/{pycacert.pem,b1930218.0} mv Lib/test/capath/{pycacert.pem,ceff1710.0} Change to pure PEM version of SIGNING_CA because PEM_cert_to_DER_cert() does not like the extra text at the start. Moved test_connect_ex_error() into BasicSocketTests and rewrote it to connect to a reserved localhost port. NetworkedTests.test_get_server_certificate_ipv6() split out because it needs to connect to an IPv6 DNS address. The only reference left to self-signed.pythontest.net is test_timeout_ connect_ex(), which needs a remote server to reliably time out the connection, but does not rely on the server running SSL. Made ThreadedEchoServer call unwrap() by default when it sees the client has shut the connection down, so that the client can cleanly call unwrap().
-
- 26 Mar, 2016 4 kayıt (commit)
-
-
Raymond Hettinger yazdı
See dict.__new__() and list.__new__() for comparison. Neither of those examine or touch args or kwds. That work is done in the __init__() methods.
-
Raymond Hettinger yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Issue #20021: use importlib.machinery to import Lib/opcode.py and not an opcode module coming from somewhere else. makeopcodetargets.py is part of the Python build process and it is run by an external Python program, not the built Python program. Patch written by Serhiy Storchaka.
-
- 25 Mar, 2016 2 kayıt (commit)
-
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-