Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision 668489a6d5a5b124aea35820ca90cb5e3b2b3ecd authored by Victor Stinner on 05 July 2017, 08:00:33 UTC, committed by GitHub on 05 July 2017, 08:00:33 UTC
Copy Lib/test/test_robotparser.py from master to 2.7 and adapt it for Python 2.7: * Replace urllib.robotparser with robotparser * Adjust HTTPServer import * Replace io.StringIO with StringIO.StringIO * Remove tests on crawl_delay() and request_rate() since these methods were added to Python 3 * Remove subTest() * Add test_main() which explicitly lists all test cases Patch based on the commit 4da0fd06ce49132d5c2e0525c4a31f807690a9ed written by Berker Peksag. Co-Authored-By: Berker Peksag <berker.peksag@gmail.com>
1 parent 3050987
Tip revision: 668489a6d5a5b124aea35820ca90cb5e3b2b3ecd authored by Victor Stinner on 05 July 2017, 08:00:33 UTC
bpo-30759: Copy test_robotparser from master (#2546)
bpo-30759: Copy test_robotparser from master (#2546)
Tip revision: 668489a
File | Mode | Size |
---|---|---|
.github | ||
Demo | ||
Doc | ||
Grammar | ||
Include | ||
Lib | ||
Mac | ||
Misc | ||
Modules | ||
Objects | ||
PC | ||
PCbuild | ||
Parser | ||
Python | ||
RISCOS | ||
Tools | ||
.bzrignore | -rw-r--r-- | 552 bytes |
.gitattributes | -rw-r--r-- | 809 bytes |
.gitignore | -rw-r--r-- | 1.1 KB |
.hgeol | -rw-r--r-- | 1007 bytes |
.hgignore | -rw-r--r-- | 1.1 KB |
.hgtags | -rw-r--r-- | 8.5 KB |
.mention-bot | -rw-r--r-- | 39 bytes |
.travis.yml | -rw-r--r-- | 3.0 KB |
LICENSE | -rw-r--r-- | 12.5 KB |
Makefile.pre.in | -rw-r--r-- | 47.3 KB |
README | -rw-r--r-- | 54.4 KB |
aclocal.m4 | -rw-r--r-- | 10.7 KB |
config.guess | -rwxr-xr-x | 43.2 KB |
config.sub | -rwxr-xr-x | 35.7 KB |
configure | -rwxr-xr-x | 432.6 KB |
configure.ac | -rw-r--r-- | 138.3 KB |
install-sh | -rwxr-xr-x | 7.0 KB |
pyconfig.h.in | -rw-r--r-- | 34.3 KB |
setup.py | -rw-r--r-- | 96.7 KB |
Computing file changes ...